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

Improve the healthcheck #401

Merged
merged 9 commits into from
Feb 21, 2025
Prev Previous commit
Next Next commit
refactor: replace deprecated datetime.utcnow method
Adamantios committed Feb 20, 2025
commit a78a88b7f430761e9e15549ccdd4b5f2e8bec19d
2 changes: 1 addition & 1 deletion packages/valory/skills/decision_maker_abci/handlers.py
Original file line number Diff line number Diff line change
@@ -387,6 +387,6 @@ def _check_is_receiving_mech_responses(self) -> bool:
# (an on chain transaction)
return (
self.synchronized_data.decision_receive_timestamp
< int(datetime.utcnow().timestamp())
< int(datetime.now(timezone.utc).timestamp())
- self.context.params.expected_mech_response_time
)