Adding two placeholder containers

This commit is contained in:
2020-04-15 09:15:40 +02:00
parent df4124b6cc
commit 9299419941
6 changed files with 182 additions and 2 deletions

15
worker-placeholder/app.py Normal file
View File

@@ -0,0 +1,15 @@
import logging
import threading
logger = logging.getLogger('worker')
def fake_it():
threading.Timer(5.0, fake_it).start()
logger.info('Checking for work')
if __name__ == '__main__':
logging.basicConfig(level=logging.INFO)
fake_it()