Commit Graph

23 Commits (1ccabe2965c09a7451fde15cfd082da2a981b882)

Author SHA1 Message Date
Mark Haines 9bc5b4c663 Assert that the step != 0 9 years ago
Mark Haines 35b5c4ba1b use google style doc strings 9 years ago
Mark Haines a2866e2e6a Rename direction to step, apply checks consistently 9 years ago
Mark Haines e36bfbab38 Use a stream id generator for backfilled ids 9 years ago
Mark Haines b6e8420aee Add replication stream for pushers 9 years ago
Erik Johnston 158a322e82 Ensure integer is an integer 9 years ago
Mark Haines a1cf9e3bf3 Add a stream for push rule updates 9 years ago
Mark Haines 54172924c8 Load the current id in the IdGenerator constructor 9 years ago
Erik Johnston 42109a62a4 Remove unused param from get_max_token 9 years ago
Erik Johnston e5999bfb1a Initial cut 9 years ago
Erik Johnston 87f9477b10 Add a Homeserver.setup method. 9 years ago
Matthew Hodgson 6c28ac260c copyrights 9 years ago
Erik Johnston c67ba143fa Move DictionaryCache 9 years ago
Erik Johnston e7768e77f5 Add basic dictionary cache 9 years ago
Erik Johnston 80a61330ee Add basic storage functions for handling of receipts 10 years ago
Erik Johnston 5130d80d79 Add bulk insert events API 10 years ago
Mark Haines 5002056b16 SYN-377: Make sure that the StreamIdGenerator.get_next.__exit__ is called from the main thread after the transaction completes, not from database thread before the transaction completes. 10 years ago
Erik Johnston 0ade2712d1 Typo 10 years ago
Erik Johnston 50f96f256f Also remove yield from within lock in the other generator 10 years ago
Erik Johnston d2d61a8288 Fix deadlock in id_generators. No idea why this was an actual deadlock. 10 years ago
Erik Johnston 8558e1ec73 Make get_max_token into inlineCallbacks so that the lock works. 10 years ago
Erik Johnston a971fa9d58 Use try..finally in contextlib.contextmanager 10 years ago
Erik Johnston 3c741682e5 Correctly increment the _next_id initially 10 years ago
Erik Johnston 8ad0f4912e
Stream ordering and out of order insertions. 10 years ago