We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85c5927 commit f2bdbcbCopy full SHA for f2bdbcb
docs/modules/ROOT/examples/api/tutorial008.py
@@ -0,0 +1,7 @@
1
+from corva import Api, Cache, ScheduledDataTimeEvent, ScheduledDepthEvent, scheduled
2
+
3
4
+@scheduled
5
+def scheduled_app(event: ScheduledDataTimeEvent, api: Api, cache: Cache):
6
+ api.max_retries = 5 # Enabling up to 5 retries when HTTP error happens.
7
+ ...
0 commit comments