Skip to content

Commit

Permalink
Fixed sleep time of daemon thread
Browse files Browse the repository at this point in the history
  • Loading branch information
AbhayAravinda committed Nov 22, 2020
1 parent c746d8c commit 0e3a547
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion green_cloud_computing/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def threaded_function():
os.remove(image_url)
except:
pass
sleep(600)
sleep(6000)

t = threading.Thread(target = threaded_function, name='file_deletion_thread', daemon=True)
t.start()

0 comments on commit 0e3a547

Please sign in to comment.