mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-07 18:14:10 +00:00
Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
e94f5e043a | ||
![]() |
5456fb6356 | ||
![]() |
fb75b9a392 | ||
![]() |
90d341e6f7 |
@@ -9,6 +9,21 @@ command line for details.
|
||||
|
||||
## 0.9
|
||||
|
||||
### [0.9.3] 2018-09-12
|
||||
|
||||
JupyterHub 0.9.3 contains small bugfixes and improvements
|
||||
|
||||
- Fix token page and model handling of `expires_at`.
|
||||
This field was missing from the REST API model for tokens
|
||||
and could cause the token page to not render
|
||||
- Add keep-alive to progress event stream to avoid proxies dropping
|
||||
the connection due to inactivity
|
||||
- Documentation and example improvements
|
||||
- Disable quit button when using notebook 5.6
|
||||
- Prototype new feature (may change prior to 1.0):
|
||||
pass requesting Handler to Spawners during start,
|
||||
accessible as `self.handler`
|
||||
|
||||
### [0.9.2] 2018-08-10
|
||||
|
||||
JupyterHub 0.9.2 contains small bugfixes and improvements.
|
||||
@@ -402,7 +417,8 @@ Fix removal of `/login` page in 0.4.0, breaking some OAuth providers.
|
||||
First preview release
|
||||
|
||||
|
||||
[Unreleased]: https://github.com/jupyterhub/jupyterhub/compare/0.9.2...HEAD
|
||||
[Unreleased]: https://github.com/jupyterhub/jupyterhub/compare/0.9.3...HEAD
|
||||
[0.9.3]: https://github.com/jupyterhub/jupyterhub/compare/0.9.2...0.9.3
|
||||
[0.9.2]: https://github.com/jupyterhub/jupyterhub/compare/0.9.1...0.9.2
|
||||
[0.9.1]: https://github.com/jupyterhub/jupyterhub/compare/0.9.0...0.9.1
|
||||
[0.9.0]: https://github.com/jupyterhub/jupyterhub/compare/0.8.1...0.9.0
|
||||
|
@@ -4,11 +4,11 @@
|
||||
# Distributed under the terms of the Modified BSD License.
|
||||
|
||||
version_info = (
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
9,
|
||||
3,
|
||||
"", # release (b1, rc1, or "" for final or dev)
|
||||
"dev", # dev or nothing
|
||||
# "dev", # dev or nothing
|
||||
)
|
||||
|
||||
# pep 440 version: no dot before beta/rc, but before .dev
|
||||
|
@@ -429,7 +429,7 @@ class UserAdminAccessAPIHandler(APIHandler):
|
||||
class SpawnProgressAPIHandler(APIHandler):
|
||||
"""EventStream handler for pending spawns"""
|
||||
|
||||
keepalive_interval = 10
|
||||
keepalive_interval = 8
|
||||
|
||||
def get_content_type(self):
|
||||
return 'text/event-stream'
|
||||
@@ -445,7 +445,6 @@ class SpawnProgressAPIHandler(APIHandler):
|
||||
|
||||
_finished = False
|
||||
def on_finish(self):
|
||||
print("on finish")
|
||||
self._finished = True
|
||||
|
||||
async def keepalive(self):
|
||||
@@ -456,7 +455,7 @@ class SpawnProgressAPIHandler(APIHandler):
|
||||
"""
|
||||
while not self._finished:
|
||||
try:
|
||||
await self.write("\n\n")
|
||||
self.write("\n\n")
|
||||
except (StreamClosedError, RuntimeError):
|
||||
return
|
||||
await asyncio.sleep(self.keepalive_interval)
|
||||
|
Reference in New Issue
Block a user