aboutsummaryrefslogtreecommitdiffstats
path: root/extension/background.js
diff options
context:
space:
mode:
authorTeddy Wing2021-02-14 19:52:32 +0100
committerTeddy Wing2021-02-14 19:52:32 +0100
commit94265081b0efdd13ab480032547d2ac1f76daf83 (patch)
tree315922c0bfefc1cdb24bbcae953ddef2a21d8fc0 /extension/background.js
parent5baf8d91fc8450cc5e9639fab25a01c432986b7b (diff)
downloadextreload-94265081b0efdd13ab480032547d2ac1f76daf83.tar.bz2
Timeout after five seconds
Set a five second timeout to ensure we don't block endlessly if we send a WebSocket message and don't receive a response in a reasonable amount of time. Chose five seconds arbitrarily, but that seems like more than enough time to do our work. If it takes longer, something else is probably wrong.
Diffstat (limited to 'extension/background.js')
0 files changed, 0 insertions, 0 deletions