Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@chelseatroy
Last active July 26, 2020 03:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chelseatroy/919ed02eb7588c3bf4e699680754d53e to your computer and use it in GitHub Desktop.
Save chelseatroy/919ed02eb7588c3bf4e699680754d53e to your computer and use it in GitHub Desktop.
Keeping Track of Followers
class Server:
...
self.followers_with_update_status = {}
self.current_operation = ''
self.current_operation_committed = False
for server_name in other_server_names(name):
self.followers_with_update_status[server_name] = False
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment