diff options
Diffstat (limited to 'discord/ext')
| -rw-r--r-- | discord/ext/tasks/__init__.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/discord/ext/tasks/__init__.py b/discord/ext/tasks/__init__.py index 0ea6e2d0..b33a1b0c 100644 --- a/discord/ext/tasks/__init__.py +++ b/discord/ext/tasks/__init__.py @@ -8,8 +8,6 @@ import logging from discord.backoff import ExponentialBackoff -MAX_ASYNCIO_SECONDS = 3456000 - log = logging.getLogger(__name__) class Loop: @@ -360,10 +358,6 @@ class Loop: """ sleep = seconds + (minutes * 60.0) + (hours * 3600.0) - if sleep >= MAX_ASYNCIO_SECONDS: - fmt = 'Total number of seconds exceeds asyncio imposed limit of {0} seconds.' - raise ValueError(fmt.format(MAX_ASYNCIO_SECONDS)) - if sleep < 0: raise ValueError('Total number of seconds cannot be less than zero.') |