Update last_time when rate limiting POST requests
MODIFY
plex_trakt_sync/decorators/rate_limit.py
plex_trakt_sync/decorators/rate_limit.py
@@ -31,6 +31,7 @@ def respect_trakt_rate():
f'Sleeping for {wait:.3f} seconds'
)
sleep(wait)
+ last_time = time()
def decorator(fn):
@wraps(fn)

Update last_time when rate limiting POST requests