Skip to content
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

v2.01 Undefined subroutine &Mail::MtPolicyd::SessionCache::Memcached::usleep #17

Closed
LuckyFellow opened this issue Aug 9, 2016 · 1 comment

Comments

@LuckyFellow
Copy link

If configured using Memcached as session storage and if mails from the same user gets processed too frequently, I receive this error message:

error while processing request: Undefined subroutine &Mail::MtPolicyd::SessionCache::Memcached::usleep called at /usr/local/share/perl/5.20.2/Mail/MtPolicyd/SessionCache/Memcached.pm line 30, line 104.\n

in file: /usr/local/share/perl/5.20.2/Mail/MtPolicyd/SessionCache/Memcached.pm
Line 30 is: usleep( $self->lock_wait * $try );
Changing it to: Time::HiRes::usleep( $self->lock_wait * $try );

solves the error.

@LuckyFellow LuckyFellow changed the title v2.01Undefined subroutine &Mail::MtPolicyd::SessionCache::Memcached::usleep v2.01 Undefined subroutine &Mail::MtPolicyd::SessionCache::Memcached::usleep Aug 9, 2016
@LuckyFellow
Copy link
Author

Same is true for: /usr/local/share/perl/5.20.2/Mail/MtPolicyd/SessionCache/Redis.pm

benningm added a commit that referenced this issue Aug 10, 2016
This add test cases for memcached and redis based session
caching and fixes a few related bugs.

fixes #15 #16 #17 #19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants