Commit Graph

4019 Commits

Author SHA1 Message Date
Erik Johnston fd39ff3ec6 Remove debug logging 2015-06-25 15:19:54 +01:00
Erik Johnston 48520505cd Dedupe auth_chain + state 2015-06-25 15:18:07 +01:00
Erik Johnston 9d6e735344 PEP8 2015-06-25 14:15:53 +01:00
Erik Johnston 584a1c0dca Parallelise key storage 2015-06-25 14:13:47 +01:00
Erik Johnston 3cf2203c5c Don't parallelise persist_events 2015-06-25 14:11:18 +01:00
Erik Johnston 9951f43764 Add unwrapFirstError 2015-06-25 11:57:54 +01:00
Erik Johnston 9e6daddaf5 Persist events in parrellel if possible 2015-06-25 11:56:10 +01:00
Erik Johnston e2a241af08 Make _persist_event_txn call _persist_events_txn 2015-06-25 11:45:05 +01:00
Erik Johnston 4500529c73 Typo 2015-06-25 09:22:42 +01:00
Erik Johnston ecae5437bb Remove unused line 2015-06-24 16:32:16 +01:00
Erik Johnston 0f2ac80305 Verify state and auth_chain in the same batch 2015-06-24 14:51:10 +01:00
Erik Johnston 74f7b44955 Add desc to store_server_keys_json _simple_upsert 2015-06-24 13:15:52 +01:00
Erik Johnston 307e858b94 Fix backfill 2015-06-24 13:11:58 +01:00
Erik Johnston ec6ceadeeb Only fail individular deferred for invalid signature 2015-06-24 13:04:37 +01:00
Erik Johnston f4964e666a Fix up process_v2_response 2015-06-24 12:53:26 +01:00
Erik Johnston 2dcddf83f3 Use correct arg 2015-06-24 11:41:39 +01:00
Erik Johnston 12d5914e83 Add missing items() 2015-06-24 11:33:57 +01:00
Erik Johnston 3ee7c551e9 Logging 2015-06-24 11:30:05 +01:00
Erik Johnston 44e3bed2a1 Make _check_sigs_and_hash_and_fetch use batch api for verify keys 2015-06-24 11:28:07 +01:00
Erik Johnston a29319fefa Implement a batch API for verify_json_objects_for_server 2015-06-24 11:21:35 +01:00
Erik Johnston f859e3ca37 Merge branch 'develop' of github.com:matrix-org/synapse into erikj/persist_event_perf 2015-06-23 16:41:58 +01:00
David Baker 6825eef955 Oops: underride rule had an identifier with override in it. 2015-06-23 14:26:14 +01:00
Erik Johnston 6924852592 Batch SELECTs in _get_auth_chain_ids_txn 2015-06-23 11:01:04 +01:00
Erik Johnston 0e1d2d0628 Remove debug logging 2015-06-22 18:09:16 +01:00
Erik Johnston 19f0497ac3 Batch outside transactions 2015-06-22 18:06:13 +01:00
Erik Johnston be29e152d1 Don't update current_state_events for outliers 2015-06-22 17:41:42 +01:00
Erik Johnston a4ad9b9556 Only persist a maximum of 100 events at a time 2015-06-22 17:17:25 +01:00
Erik Johnston 96ce61b2b1 Implement persist_event*s* 2015-06-22 17:03:34 +01:00
Erik Johnston 03a9e4436b Add a many version of _handle_prev_events 2015-06-22 14:09:39 +01:00
Erik Johnston a76e217d8e Add a many version of store_state_groups_txn 2015-06-22 14:09:25 +01:00
Erik Johnston 96be533f1f Use new store.persist_events function in federation handler 2015-06-22 11:42:10 +01:00
Erik Johnston b39b294d1f Properly cache get_server_verify_keys 2015-06-19 17:20:58 +01:00
Erik Johnston 92d3fe8deb Merge branch 'develop' of github.com:matrix-org/synapse into erikj/persist_event_perf 2015-06-19 16:25:04 +01:00
Erik Johnston 2f556e0c55 Fix typo 2015-06-19 16:22:53 +01:00
Erik Johnston 7fa1363fb0 Merge pull request #192 from matrix-org/erikj/fix_log_context
Fix log context when sending requests
2015-06-19 16:21:40 +01:00
Erik Johnston b2f7fc4527 Ignore your own domain 2015-06-19 16:16:35 +01:00
Erik Johnston c461482e1a Remove unnecessary store.have_events call 2015-06-19 15:35:56 +01:00
Erik Johnston 83df0aef58 PEP8 2015-06-19 15:08:01 +01:00
Erik Johnston efe2785cab Cache get_server_verify_key 2015-06-19 15:06:51 +01:00
Erik Johnston 280e7cd874 Merge branch 'erikj/fix_log_context' of github.com:matrix-org/synapse into erikj/persist_event_perf 2015-06-19 11:55:10 +01:00
Erik Johnston 63141e77e7 Merge branch 'develop' of github.com:matrix-org/synapse into erikj/persist_event_perf 2015-06-19 11:50:34 +01:00
Erik Johnston 275dab6b55 Merge pull request #190 from matrix-org/erikj/syn-412
Fix notifier leak
2015-06-19 11:49:58 +01:00
Erik Johnston a68abc79fd Add comment on cancellation of observers 2015-06-19 11:48:55 +01:00
Erik Johnston 653533a3da Fix log context when sending requests 2015-06-19 11:46:49 +01:00
Erik Johnston 9bf61ef97b Merge pull request #189 from matrix-org/erikj/room_init_sync
Improve room init sync speed.
2015-06-19 11:36:06 +01:00
Erik Johnston 0e58d19163 Merge pull request #187 from matrix-org/erikj/sanitize_logging
Sanitize logging
2015-06-19 11:35:59 +01:00
Erik Johnston 18968efa0a Remove stale debug lines 2015-06-19 10:18:02 +01:00
Erik Johnston eb928c9f52 Add site_tag to logger 2015-06-19 10:16:48 +01:00
Erik Johnston 9d112f4440 Add IDs to outbound transactions 2015-06-19 10:13:03 +01:00
Erik Johnston ad460a8315 Add Eric Myhre to AUTHORS 2015-06-19 09:23:26 +01:00