You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears that you can only set the timeWindow option once globally, when registering the hapi-brute plugin, thanks to the way how it is used to construct the TTL for the cache the plugin creates.
All other options can be set on a per-route basis when defining once routes, but the timeWindow not. Well it can be set, but it will not have any effect.
The text was updated successfully, but these errors were encountered:
It is because there is a single cache which is configured on server registration. I guess it is possible to instantiate another with a different expiry if the route requires it.
It appears that you can only set the timeWindow option once globally, when registering the hapi-brute plugin, thanks to the way how it is used to construct the TTL for the cache the plugin creates.
All other options can be set on a per-route basis when defining once routes, but the timeWindow not. Well it can be set, but it will not have any effect.
The text was updated successfully, but these errors were encountered: