apigee-127 / volos

Key Node.js modules for building production-quality APIs
Other
205 stars 63 forks source link

Fix bug 143998052 and update bucket expiry calculation logic. #145

Closed gaonkar18y closed 4 years ago

gaonkar18y commented 4 years ago

Define customSetInterval for time interval values greater than max supported by setInterval. Use customSetInterval if timeInterval value is more than maxTimeInterval set. Set maxTimeInterval value to 1 day. Move calculateExpiration call in reset function for better performance.