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 b993088 commit 7509d41Copy full SHA for 7509d41
src/apify/_actor.py
@@ -900,11 +900,11 @@ async def reboot(
900
self.log.error('Actor.reboot() is only supported when running on the Apify platform.')
901
return
902
903
- if self._is_rebooting:
+ if _ActorType._is_rebooting:
904
self.log.debug('Actor is already rebooting, skipping the additional reboot call.')
905
906
907
- self._is_rebooting = True
+ _ActorType._is_rebooting = True
908
909
if not custom_after_sleep:
910
custom_after_sleep = self._configuration.metamorph_after_sleep
0 commit comments