Skip to content

Commit

Permalink
pywwt/qt.py: bump up the app liveness deadline to 10 seconds
Browse files Browse the repository at this point in the history
Addresss WorldWideTelescope#309 the straightforward way. Slow operations can hold up the
Qt mainloop enough that the backend convinces itself that the app has
become nonresponsive.

Note that for the ipywidgets and JupyterLab app backends, the liveness
testing is done in the JS frontend code, which really ought to not
suffer from this possibility. So those deadlines are staying at their
current values, for now.
  • Loading branch information
pkgw committed Jul 27, 2021
1 parent 4204879 commit 6a61b98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pywwt/qt.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

__all__ = ['WWTQtClient']

APP_LIVENESS_DEADLINE = 2.5 # seconds
APP_LIVENESS_DEADLINE = 10 # seconds


class WWTWebEngineView(QWebEngineView):
Expand Down

0 comments on commit 6a61b98

Please sign in to comment.