You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the system clock is set ahead of the actual time, and a submission is made, it will fail with an error that the clock skew is too large. For example
Then, if the time is corrected, and another submission made, rai may fail with the following message:
$ ./rai-linux-amd64 -p gpu-algorithms-labs-master/labs/device_query/
Error: Last submission was made 1 hour from now. Due to the rate limit, submissions are not allows within a 0s time window.
Last submission was made 1 hour from now. Due to the rate limit, submissions are not allows within a 0s time window.
2019/06/28 11:43:06 error: Last submission was made 1 hour from now. Due to the rate limit, submissions are not allows within a 0s time window.
The hidden rate-limiting flag has no effect on this behavior, so there is no work-around. If the system clock was ahead by several hours, the user is blocked for several hours.
Manjaro 18.0.4
./rai-linux-amd64 buildtime -p test/
BuildDate:
The text was updated successfully, but these errors were encountered:
One option is to not block if the last request was from the future.
It's not entirely clear to me how the hidden rate-limit flag affects the value of options.limit, but if it sets it to 0, then we probably should change the predicate so that if the limit is 0 we don't check the rate. Right now, a previous submission from the future has a negative time, so it always gets blocked.
Now that every transaction is recorded by the server, the solution is to check last execution based on the last execution from the database. There will be no dependence on the client clock.
If the system clock is set ahead of the actual time, and a submission is made, it will fail with an error that the clock skew is too large. For example
#31
Then, if the time is corrected, and another submission made, rai may fail with the following message:
The hidden rate-limiting flag has no effect on this behavior, so there is no work-around. If the system clock was ahead by several hours, the user is blocked for several hours.
Manjaro 18.0.4
The text was updated successfully, but these errors were encountered: