Skip to content

Commit

Permalink
Merge pull request #18499 from bgruening/obs_cache_size
Browse files Browse the repository at this point in the history
small docs enhancement
  • Loading branch information
mvdbeek authored Jul 11, 2024
2 parents 6d0dc8f + 7264a82 commit a7fb571
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 44 deletions.
25 changes: 3 additions & 22 deletions doc/source/admin/galaxy_options.rst
Original file line number Diff line number Diff line change
Expand Up @@ -793,22 +793,6 @@
:Type: seq


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
``user_config_templates_index_by``
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

:Description:
Configure URIs for user object stores to use either the object ID
('id') or UUIDs ('uuid'). Either is fine really, Galaxy doesn't
typically expose database objects by 'id' but there isn't any
obvious disadvantage to doing it in this case and it keeps user
exposed URIs much smaller. The default of UUID feels a little more
like a typical way to do this within Galaxy though. Do not change
this value once user object stores have been created.
:Default: ``uuid``
:Type: str


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
``user_config_templates_use_saved_configuration``
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down Expand Up @@ -1606,8 +1590,8 @@
~~~~~~~~~~~~~~~~~~~~~~~~~~~

:Description:
Default cache size for caching object stores if cache not
configured for that object store entry.
Default cache size, in GB, for caching object stores if the cache
is not configured for that object store entry.
:Default: ``-1``
:Type: int

Expand Down Expand Up @@ -2060,7 +2044,7 @@
defaults to "GLOBAL" if not set or the
`geographical_server_location_code` value is invalid or
unsupported. To see a full list of supported locations, visit
https://galaxyproject.org/admin/carbon_emissions
https://docs.galaxyproject.org/en/master/admin/carbon_emissions.html
:Default: ``GLOBAL``
:Type: str

Expand Down Expand Up @@ -5597,6 +5581,3 @@
This requires the help_forum_api_url to be set.
:Default: ``false``
:Type: bool



26 changes: 8 additions & 18 deletions lib/galaxy/config/sample/galaxy.yml.sample
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
# Galaxy is configured by default to be usable in a single-user development
# environment. To tune the application for a multi-user production
# environment, see the documentation at:
#
#
# https://docs.galaxyproject.org/en/master/admin/production.html
#
#
# Throughout this sample configuration file, except where stated otherwise,
# uncommented values override the default if left unset, whereas commented
# values are set to the default value. Relative paths are relative to the root
# Galaxy directory.
#
#
# Examples of many of these options are explained in more detail in the Galaxy
# Community Hub.
#
#
# https://galaxyproject.org/admin/config
#
#
# Config hackers are encouraged to check there before asking for help.
#
#
# Configuration for Gravity process manager.
# ``uwsgi:`` section will be ignored if Galaxy is started via Gravity commands (e.g ``./run.sh``, ``galaxy`` or ``galaxyctl``).
gravity:
Expand Down Expand Up @@ -721,15 +721,6 @@ galaxy:
# Configured user file source templates embedded into Galaxy's config.
#file_source_templates: null

# Configure URIs for user object stores to use either the object ID
# ('id') or UUIDs ('uuid'). Either is fine really, Galaxy doesn't
# typically expose database objects by 'id' but there isn't any
# obvious disadvantage to doing it in this case and it keeps user
# exposed URIs much smaller. The default of UUID feels a little more
# like a typical way to do this within Galaxy though. Do not change
# this value once user object stores have been created.
#user_config_templates_index_by: uuid

# User defined object stores and file sources are saved in the
# database with their last valid configuration. It may be the case
# that the admin changes file source and object store templates over
Expand Down Expand Up @@ -1113,8 +1104,8 @@ galaxy:
# <cache_dir>.
#object_store_cache_path: object_store_cache

# Default cache size for caching object stores if cache not configured
# for that object store entry.
# Default cache size, in GB, for caching object stores if the cache is
# not configured for that object store entry.
#object_store_cache_size: -1

# Set this to true to indicate in the UI that a user's object store
Expand Down Expand Up @@ -2974,4 +2965,3 @@ galaxy:
# Enable the integration of the Galaxy Help Forum in the tool panel.
# This requires the help_forum_api_url to be set.
#enable_help_forum_tool_panel_integration: false

8 changes: 4 additions & 4 deletions lib/galaxy/config/schemas/config_schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1146,8 +1146,8 @@ mapping:
default: -1
required: false
desc: |
Default cache size for caching object stores if cache not configured for
that object store entry.
Default cache size, in GB, for caching object stores if the cache is not
configured for that object store entry.
object_store_always_respect_user_selection:
type: bool
Expand Down Expand Up @@ -1474,7 +1474,7 @@ mapping:
This is used to make carbon emissions estimates more accurate as the location effects the
carbon intensity values used in the estimate calculation. This defaults to "GLOBAL" if not set or the
`geographical_server_location_code` value is invalid or unsupported. To see a full list of supported locations,
visit https://galaxyproject.org/admin/carbon_emissions
visit https://docs.galaxyproject.org/en/master/admin/carbon_emissions.html
power_usage_effectiveness:
type: float
Expand Down Expand Up @@ -3829,7 +3829,7 @@ mapping:
`result_backend` option in the `celery_conf` option to a valid Celery result
backend URL. By default, Galaxy uses an SQLite database at '<data_dir>/results.sqlite' for storing task results.
For details, see https://docs.galaxyproject.org/en/master/admin/production.html#use-celery-for-asynchronous-tasks
celery_conf:
type: any
required: false
Expand Down

0 comments on commit a7fb571

Please sign in to comment.