first_checked_at and last_checked_at columns filled with different datetimes. #3
Labels
No labels
bug
suggestion
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: spla/fediverse#3
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Every process of the multiprocessing get the datetime at run time so all checked servers have different datetimes in their columns first_checked_at and last_checked_at. This is a problem because they will have different uptimes.
Solution is initialize 'now' parameter into the Server Class and after the creation of the Server Class's instance assign current datetime to it.
`class Server:
assigned to @spla