Shay
|
ef3619e61d
Add config settings for background update parameters (#11980)
|
2 years ago |
Shay
|
26211fec24
Fix a bug in background updates wherein background updates are never run using the default batch size (#12157)
|
2 years ago |
Erik Johnston
|
d08ef6f155
Make background updates controllable via a plugin (#11306)
|
2 years ago |
Brendan Abolivier
|
7f9841bdec
Lower minumum batch size to 1 for background updates (#11422)
|
2 years ago |
Dirk Klimpel
|
ea20937084
Add an admin API to run background jobs. (#11352)
|
2 years ago |
Erik Johnston
|
4ee71b9637
Add some background update admin APIs (#11263)
|
2 years ago |
Jonathan de Jong
|
bdfde6dca1
Use inline type hints in `http/federation/`, `storage/` and `util/` (#10381)
|
3 years ago |
Jonathan de Jong
|
4b965c862d
Remove redundant "coding: utf-8" lines (#9786)
|
3 years ago |
Patrick Cloke
|
b7748d3c00
Import HomeServer from the proper module. (#9665)
|
3 years ago |
Eric Eastwood
|
0a00b7ff14
Update black, and run auto formatting over the codebase (#9381)
|
3 years ago |
Patrick Cloke
|
637282bb50
Add additional type hints to the storage module. (#8980)
|
3 years ago |
Patrick Cloke
|
c619253db8
Stop sub-classing object (#8249)
|
3 years ago |
Patrick Cloke
|
37db6252b7
Convert additional databases to async/await part 3 (#8201)
|
3 years ago |
Patrick Cloke
|
30426c7063
Convert additional database methods to async (select list, search, insert_many, delete_*) (#8168)
|
3 years ago |
Patrick Cloke
|
dbc630a628
Use the JSON encoder without whitespace in more places. (#8124)
|
3 years ago |
Patrick Cloke
|
894dae74fe
Convert misc database code to async (#8087)
|
3 years ago |
Erik Johnston
|
a7bdf98d01
Rename database classes to make some sense (#8033)
|
3 years ago |
Patrick Cloke
|
f460da6031
Consistently use `db_to_json` to convert from database values to JSON objects. (#7849)
|
4 years ago |
Richard van der Hoff
|
fcc2de7a0c
Update docstring per review comments
|
4 years ago |
Richard van der Hoff
|
af47264b78
review comment
|
4 years ago |
Richard van der Hoff
|
7b608cf468
Only run one background update at a time
|
4 years ago |
Richard van der Hoff
|
b4c2234232
Make do_next_background_update return a bool
|
4 years ago |
Richard van der Hoff
|
26d17b9bdc
Make `has_completed_background_updates` async
|
4 years ago |
Richard van der Hoff
|
cfe8c8ab8e
Remove unused `start_background_update`
|
4 years ago |
Patrick Cloke
|
509e381afa
Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957)
|
4 years ago |
Richard van der Hoff
|
85db7f73be
Add a background update to clear tombstoned rooms from the directory (#6648)
|
4 years ago |
Richard van der Hoff
|
9824a39d80
Async/await for background updates (#6647)
|
4 years ago |
Erik Johnston
|
d537be1ebd
Pass Database into the data store
|
4 years ago |
Erik Johnston
|
4a33a6dd19
Move background update handling out of store
|
4 years ago |
Erik Johnston
|
756d4942f5
Move DB pool and helper functions into dedicated Database class
|
4 years ago |