Commit 0bb34ba5295259d386333652fcd83ced9fd4e84c

Authored by Adhidarma Hadiwinoto
1 parent c2a3ea41fd
Exists in master

random result timeout

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -33,7 +33,7 @@ function buy(_task) {
33 33 function() {
34 34 _buy(task);
35 35 },
36   - 2000
  36 + (config.max_result_timeout_ms || 2000) * Math.random()
37 37 )
38 38 }
39 39