Erik Johnston
|
e70165039c
|
If stream pos is greater then earliest known key and entity hasn't changed, then entity hasn't changed
|
2016-01-29 16:41:32 +00:00 |
Erik Johnston
|
18579534ea
|
Prefill stream change caches
|
2016-01-29 14:37:59 +00:00 |
Erik Johnston
|
b18114e19e
|
Merge pull request #536 from matrix-org/erikj/sync
Make /sync "better".
|
2016-01-29 13:04:51 +00:00 |
Erik Johnston
|
fb7299800f
|
Directly set self.value
|
2016-01-29 11:29:14 +00:00 |
Erik Johnston
|
c046630c33
|
Remove spurious self.size
|
2016-01-29 11:17:54 +00:00 |
Erik Johnston
|
a30364c1f9
|
Correctly bookkeep the size of TreeCache
|
2016-01-29 10:44:46 +00:00 |
Erik Johnston
|
766526e114
|
Make TreeCache keep track of its own size.
|
2016-01-29 10:11:21 +00:00 |
Erik Johnston
|
50e18938a9
|
Reset size on clear
|
2016-01-29 10:00:45 +00:00 |
Erik Johnston
|
3f5dd18bd4
|
If the same as the earliest key, assume nothing has changed.
|
2016-01-28 18:11:41 +00:00 |
Erik Johnston
|
40431251cb
|
Correctly update _entity_to_key
|
2016-01-28 18:05:43 +00:00 |
Erik Johnston
|
82cf3a8043
|
Fix inequalities
|
2016-01-28 17:44:04 +00:00 |
Erik Johnston
|
0663c5bd52
|
Include cache hits with has_entity_changed
|
2016-01-28 17:27:28 +00:00 |
Erik Johnston
|
45cf827c8f
|
Change name and doc has_entity_changed
|
2016-01-28 16:39:18 +00:00 |
Erik Johnston
|
00cb3eb24b
|
Cache tags and account data
|
2016-01-28 16:37:41 +00:00 |
Erik Johnston
|
c23a8c7833
|
Ensure keys to RoomStreamChangeCache are ints
|
2016-01-28 15:55:26 +00:00 |
Erik Johnston
|
e1941442d4
|
Invalidate caches properly. Remove unused arg
|
2016-01-28 15:02:41 +00:00 |
Erik Johnston
|
b97f6626b6
|
Add cache to room stream
|
2016-01-27 17:33:26 +00:00 |
David Baker
|
7cd418d38e
|
Don't add the member functiopn if we're not using treecache
|
2016-01-22 13:40:37 +00:00 |
David Baker
|
cd80019eec
|
docs
|
2016-01-22 12:21:13 +00:00 |
David Baker
|
d552861346
|
Revert all the bits changing keys of eeverything that used LRUCaches to tuples
|
2016-01-22 12:18:14 +00:00 |
David Baker
|
10f76dc5da
|
Make LRU cache not default to treecache & add options to use it
|
2016-01-22 12:10:33 +00:00 |
David Baker
|
5b142788d2
|
Add __contains__
|
2016-01-22 11:49:59 +00:00 |
David Baker
|
eaa836e8ca
|
Docs for treecache
|
2016-01-22 11:47:22 +00:00 |
David Baker
|
8acc5cb60f
|
Add invalidate_many here too
|
2016-01-22 11:22:32 +00:00 |
David Baker
|
330be18ec5
|
peppate
|
2016-01-21 19:17:32 +00:00 |
David Baker
|
f1f8122120
|
Change LRUCache to be tree-based so we can delete subtrees.
|
2016-01-21 19:16:25 +00:00 |
Matthew Hodgson
|
6c28ac260c
|
copyrights
|
2016-01-07 04:26:29 +00:00 |
Mark Haines
|
d12c00bdc3
|
Add some docstring explaining the snapshot cache does
|
2015-12-23 15:18:11 +00:00 |
Mark Haines
|
7fa71e3267
|
Add a unit test for the snapshot cache
|
2015-12-23 11:48:03 +00:00 |
Mark Haines
|
9ac417fa88
|
Add a cache for initialSync responses that expires after 5 minutes
|
2015-12-22 18:27:56 +00:00 |
Mark Haines
|
6a5ff5f223
|
Track the time spent in the database per request.
and track the number of transactions that request started.
|
2015-12-07 17:56:11 +00:00 |
Mark Haines
|
3dd1630848
|
Add a setter for the current log context.
Move the resource tracking inside that setter so that it is easier
to make sure that the resource tracking isn't double counting the
resource usage.
|
2015-12-07 10:51:18 +00:00 |
Mark Haines
|
5231737369
|
Add comments to explain why we are hardcoding RUSAGE_THREAD
|
2015-12-04 11:53:38 +00:00 |
Mark Haines
|
d6059bdd2a
|
Fix warnings
|
2015-12-04 11:34:23 +00:00 |
Mark Haines
|
48a2526d62
|
Track the cpu used in the main thread by each logging context
|
2015-12-03 21:03:01 +00:00 |
Mark Haines
|
a412b9a465
|
Run the background updates when starting synapse.
|
2015-11-10 15:50:58 +00:00 |
Daniel Wagner-Hall
|
2cebe53545
|
Exchange 3pid invites for m.room.member invites
|
2015-11-05 16:43:19 +00:00 |
Erik Johnston
|
5bc690408d
|
Merge pull request #340 from matrix-org/erikj/server_retries
Retry dead servers a lot less often
|
2015-11-05 16:15:50 +00:00 |
Mark Haines
|
c452dabc3d
|
Remove the LockManager class because it wasn't being used
|
2015-11-04 14:08:15 +00:00 |
Erik Johnston
|
eacb068ac2
|
Retry dead servers a lot less often
|
2015-11-02 16:56:30 +00:00 |
Daniel Wagner-Hall
|
9261ef3a15
|
Merge pull request #312 from matrix-org/daniel/3pidinvites
Stuff signed data in a standalone object
|
2015-10-19 15:52:34 +01:00 |
Mark Haines
|
9371a35e89
|
Merge pull request #306 from matrix-org/markjh/unused_methods
Remove some login classes from synapse.
|
2015-10-16 18:18:41 +01:00 |
Daniel Wagner-Hall
|
0e5239ffc3
|
Stuff signed data in a standalone object
Makes both generating it in sydent, and verifying it here, simpler at
the cost of some repetition
|
2015-10-16 17:45:48 +01:00 |
Daniel Wagner-Hall
|
c225d63e9e
|
Add signing host and keyname to signatures
|
2015-10-16 15:07:56 +01:00 |
Daniel Wagner-Hall
|
b8dd5b1a2d
|
Verify third party ID server certificates
|
2015-10-16 14:54:54 +01:00 |
Daniel Wagner-Hall
|
643b5fcdc8
|
Look for keys on the right objects
|
2015-10-15 13:10:30 +01:00 |
Daniel Wagner-Hall
|
f38df51e8d
|
Merge branch 'develop' into daniel/3pidinvites
|
2015-10-15 11:51:55 +01:00 |
Mark Haines
|
5338220d3a
|
synapse.util.emailutils was unused
|
2015-10-15 10:39:33 +01:00 |
Daniel Wagner-Hall
|
d82c5f7b5c
|
Use more descriptive error code
|
2015-10-13 18:02:00 +01:00 |
Daniel Wagner-Hall
|
0c38e8637f
|
Remove unnecessary class-wrapping
|
2015-10-13 18:00:38 +01:00 |