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

Conversation

Projects
None yet
3 participants
@carlfeberhard
Copy link
Contributor

commented Apr 11, 2016

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.

API: add server_starttime to api/configuration
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

This comment has been minimized.

Copy link
Member

commented Apr 11, 2016

👍

@dannon dannon merged commit ebb3c1f into galaxyproject:dev Apr 11, 2016

4 checks passed

api test Build finished.
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
framework test Build finished.
Details
toolshed test Build finished.
Details

@carlfeberhard carlfeberhard deleted the carlfeberhard:config-restart-time branch Apr 11, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.