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

feat(delay-operator): support long delays by segmenting the delay (#7440) #7441

Closed
wants to merge 1 commit into from

Commits on Feb 10, 2024

  1. feat(delay-operator): support long delays beyond 24.9 days by segment…

    …ing the delay
    
    This commit updates the delay operator to handle delays longer than 2147483647 ms (~24.9 days), addressing the JavaScript timer limitation. It introduces a segmented delay approach, allowing the delay operator to accurately manage long delay periods without exceeding the maximum setTimeout/setInterval limit. This change ensures reliable delay operations for scenarios requiring long wait times, such as token expiration or delayed notifications, improving the operator's versatility and reliability.
    danilipari committed Feb 10, 2024
    Configuration menu
    Copy the full SHA
    19a818c View commit details
    Browse the repository at this point in the history