-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Having a function for lookup seems to only work for the first request #19
Comments
I had to write a work around in my code:
Maybe I'm missing something really obvious but the fact that the limiter only gets created once and the original opts object is modified on subsequent calls seems like bad news. Perhaps cloning the opts at the beginning using underscore could mitigate this problem. |
i gotcha. i'll have a look to see what we can do about that |
@ded Thank's for the merge. Do you know when you're going to tag the next release? I would like to use this package in an automated build. |
@vamonte ++ |
New release please @ded |
Just ran into this too, any word on a new release @ded? |
Is this fixed now, per #21? |
I "consoled" the block about the lookup option being a function:
Then I booted the server:
Then I ran the first request:
Then I ran the second request:
Notice the second go console log 2 has been updated to what was console log 3's.
The text was updated successfully, but these errors were encountered: