Delay poussetaches processing at startup
This commit is contained in:
parent
885af6ae6e
commit
6e11ecce5b
3 changed files with 5 additions and 1 deletions
1
run.sh
1
run.sh
|
@ -1,4 +1,5 @@
|
|||
#!/bin/bash
|
||||
python -c "import logging; logging.basicConfig(level=logging.DEBUG); from core import migrations; migrations.perform()"
|
||||
python -c "from core import indexes; indexes.create_indexes()"
|
||||
(sleep 5 && curl -X POST -u :$POUSETACHES_AUTH_KEY $MICROBLOGPUB_POUSSETACHES_HOST/resume)&
|
||||
gunicorn -t 600 -w 5 -b 0.0.0.0:5005 --log-level debug app:app
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue