Make queue max 1
This commit is contained in:
parent
ae2e2c1032
commit
3e79759cf0
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
|
@ -15,7 +15,7 @@ app = Flask(__name__)
|
||||||
app.config['TEMPLATES_AUTO_RELOAD'] = True
|
app.config['TEMPLATES_AUTO_RELOAD'] = True
|
||||||
global unifi
|
global unifi
|
||||||
|
|
||||||
QUEUE = Queue()
|
QUEUE = Queue(1)
|
||||||
VISITOR_COUNT_FILE = "visitor_count"
|
VISITOR_COUNT_FILE = "visitor_count"
|
||||||
|
|
||||||
LIB = None
|
LIB = None
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue