Skip to content

Commit

Permalink
Add timestamps to the "Update completed" log line
Browse files Browse the repository at this point in the history
  • Loading branch information
jadolg committed Jul 21, 2024
1 parent 1734d04 commit de15743
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions proxylist/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ def update_status():
"task": inspect.currentframe().f_code.co_name,
"saved": saved_proxies,
"deleted": deleted_proxies,
"start_time": start_time,
"finish_time": now(),
},
)
TaskLog.objects.create(
Expand Down

0 comments on commit de15743

Please sign in to comment.