We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 50c9ba0 commit b58c0a7Copy full SHA for b58c0a7
1 file changed
app/js/ui/app.js
@@ -283,10 +283,12 @@ var App = (function() {
283
284
var headBlock = dgp.head_block_number;
285
286
- // If we have no lastPolledBlock, start from recent history
287
- // (last 200 blocks ~ 10 minutes) to catch duel actions
+ // If we have no lastPolledBlock, start from recent history.
+ // Use a wider recovery window so duel challenge/accept/reveal flows
288
+ // still restore after reloads or short pauses.
289
+ // 1000 blocks is roughly 50 minutes.
290
if (_lastPolledBlock === 0) {
- _lastPolledBlock = Math.max(1, headBlock - 200);
291
+ _lastPolledBlock = Math.max(1, headBlock - 1000);
292
}
293
294
if (headBlock <= _lastPolledBlock) {
0 commit comments