-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #647 from gulfofmaine/per-server-timeouts
Request config per server
- Loading branch information
Showing
6 changed files
with
103 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
app/deployments/migrations/0040_erddapserver_request_refresh_time_seconds_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Generated by Django 4.1.3 on 2022-12-20 00:58 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("deployments", "0039_erddapserver_proxy_cors"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="erddapserver", | ||
name="request_refresh_time_seconds", | ||
field=models.FloatField( | ||
default=0, | ||
help_text=( | ||
"Minimum number of seconds to attempt to delay between requests. " | ||
"If dataset refreshes are triggered independently (e.g. via ERDDAP subscriptions) " | ||
"they might ignore this." | ||
), | ||
verbose_name="Refresh request time in seconds", | ||
), | ||
), | ||
migrations.AddField( | ||
model_name="erddapserver", | ||
name="request_timeout_seconds", | ||
field=models.PositiveIntegerField( | ||
default=60, | ||
help_text="Seconds before requests time out.", | ||
verbose_name="Request timeout in seconds", | ||
), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters