Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
web-et-numerique
web-et-numerique-internet
data.grandlyon.com
web-portal
components
services
csv-catalog-downloader
Commits
c41cf1f3
Commit
c41cf1f3
authored
Sep 08, 2019
by
Alessandro CERIONI
Browse files
Removing a print which was there only for debugging purposes
parent
3d5d36dc
Pipeline
#3197
passed with stage
in 49 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
api.py
View file @
c41cf1f3
...
...
@@ -16,7 +16,6 @@ scheduler = BackgroundScheduler()
# with at least 5 minutes between each request. The following configuration allows for
# 10 concurrent requests.
random_minute
=
str
(
5
*
random
.
randint
(
0
,
9
))
print
(
random_minute
)
#
scheduler
.
add_job
(
refresh_cache
,
'cron'
,
hour
=
'6'
,
minute
=
random_minute
)
#scheduler.add_job(refresh_cache, 'interval', seconds=60)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment