Skip to content

Commit 581f830

Browse files
author
UpstreamData
committed
Add poll time registration as a separate setting.
1 parent 9c7fee0 commit 581f830

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

goosebit/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
POLL_TIME = config.get("poll_time_default", "00:01:00")
2525
POLL_TIME_UPDATING = config.get("poll_time_updating", "00:00:05")
26-
POLL_TIME_REGISTRATION = config.get("poll_time_updating", "00:00:10")
26+
POLL_TIME_REGISTRATION = config.get("poll_time_registration", "00:00:10")
2727

2828
DB_LOC = BASE_DIR.joinpath(config.get("db_location", "db.sqlite3"))
2929
DB_URI = f"sqlite:///{DB_LOC}"

settings.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
db_location: db.sqlite3
22
poll_time_default: 00:01:00
3+
poll_time_registration: 00:00:10
34
poll_time_updating: 00:00:05
45
tenant: DEFAULT
56
users:

0 commit comments

Comments
 (0)