Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API: add server_starttime to api/configuration #2124

Merged
merged 1 commit into from
Apr 11, 2016
Merged

API: add server_starttime to api/configuration #2124

merged 1 commit into from
Apr 11, 2016

Conversation

carlfeberhard
Copy link
Contributor

Adds key server_starttime to the JSON returned from api/configuration.
This is the epoch time since the last server restart and may be
convenient for use in client-side caching.

This moves server_starttime from web/framework/helpers/__init__.py
(for use in script cache-busting) to web/framework/base.py.

On the client, this should be available to all pages as:
Galaxy.config.server_starttime.

Adds key server_starttime to the JSON returned from api/configuration.
This is the epoch time since the last server restart and may be
convenient for use in client-side caching.

This moves server_starttime from web/framework/helpers/__init__.py
(for use in script cache-busting) to web/framework/base.py.

On the client, this should be available to all pages as:
Galaxy.config.server_starttime.
@jmchilton
Copy link
Member

👍

@dannon dannon merged commit ebb3c1f into galaxyproject:dev Apr 11, 2016
@carlfeberhard carlfeberhard deleted the config-restart-time branch April 11, 2016 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants