keyshade-xyz / keyshade

Realtime secret and configuration management tool, with the best in class security and seamless integration support
https://keyshade.xyz
Mozilla Public License 2.0
203 stars 101 forks source link

Create scheduler to delete expired OTPs #42

Closed rajdip-b closed 9 months ago

rajdip-b commented 9 months ago

Description

The OTPs have a validity of 5 minutes now. We would like a scheduled task to run every 1 hour and clean up such OTPs

rajdip-b commented 9 months ago

@sharmaudit124 okei so, in this one, I would like you to create a scheduled function that calls itself every hour. you can refer to nestjs scheduling docs to understand how its done. The scheduled function would go through all the otps, and delete the ones that are expired

lakshay-saini-au8 commented 9 months ago

@rajdip-b can I work on this issue

rajdip-b commented 9 months ago

Hey sure!! @lakshay-saini-au8

rajdip-b commented 8 months ago

:tada: This issue has been resolved in version 1.0.0-alpha.1 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket:

rajdip-b commented 8 months ago

:tada: This issue has been resolved in version 1.0.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: