levlam
|
f8372a52e3
|
Improve TQueue::clear logging.
|
2023-01-29 13:04:04 +03:00 |
|
levlam
|
3e5f30af70
|
Improve event_id variable names.
|
2023-01-16 12:47:37 +03:00 |
|
levlam
|
c8acf63e02
|
Delete TQueue events directly if appropriate.
|
2023-01-06 17:54:02 +03:00 |
|
levlam
|
19cde80fd1
|
Reduce struct RawEvent size on some compilers.
|
2023-01-05 23:33:15 +03:00 |
|
levlam
|
c4afb9283c
|
Return all deleted events fron TQueue::clear.
|
2023-01-05 23:17:06 +03:00 |
|
levlam
|
cf1984844b
|
Update copyright year.
|
2023-01-01 00:28:08 +03:00 |
|
levlam
|
b0bfdd2b35
|
Improve setTdlibParameters errors.
|
2022-12-30 23:13:40 +03:00 |
|
levlam
|
124d0d4043
|
Use directly remove_event instead of pop in TQueue:clear.
|
2022-12-20 19:34:55 +03:00 |
|
levlam
|
f99fb4fc06
|
Delete events from callback before forgetting them in TQueue.
|
2022-12-20 16:37:22 +03:00 |
|
levlam
|
af05db3f15
|
Add td::Hash and use it everywhere instead of unusable std::hash.
|
2022-11-23 19:37:32 +03:00 |
|
levlam
|
b1ddf9d3a7
|
Minor fixes.
|
2022-11-23 16:32:09 +03:00 |
|
levlam
|
62d5ffcd86
|
Fix logging.
|
2022-11-23 01:00:29 +03:00 |
|
levlam
|
2849a0857b
|
Add warning about too long TQueue clear.
|
2022-11-21 12:20:48 +03:00 |
|
levlam
|
32456872af
|
Decrease the maximum number of kept TQueue events.
|
2022-11-10 21:18:13 +03:00 |
|
levlam
|
52aa76584a
|
Improve TQueue::clear.
|
2022-11-08 17:27:02 +03:00 |
|
levlam
|
5945cc9b70
|
Add TQueue::clear.
|
2022-11-08 17:04:45 +03:00 |
|
levlam
|
ec86b34d55
|
Don't allow TQueue::run_gc to run for more than 50 milliseconds.
|
2022-10-13 16:04:24 +03:00 |
|
levlam
|
ec4ae065b0
|
Simplify TQueue::run_gc.
|
2022-10-13 15:22:06 +03:00 |
|
levlam
|
ee28a37906
|
Minor improvements.
|
2022-10-12 15:59:58 +03:00 |
|
levlam
|
5a29dcd337
|
Avoid redundant usages of Status::error().
|
2022-10-09 14:15:54 +03:00 |
|
levlam
|
c6c8fdcb10
|
Improve SQLite logging.
|
2022-10-05 18:24:19 +03:00 |
|
levlam
|
515a9cfb48
|
Minor improvements.
|
2022-08-18 23:31:14 +03:00 |
|
levlam
|
af8042dc61
|
Use std::atomic for close_state.
|
2022-08-18 22:04:20 +03:00 |
|
levlam
|
6f7e775dee
|
Ensure logical constness in TsSeqKeyValue.
|
2022-08-18 13:59:34 +03:00 |
|
levlam
|
f1c9d69077
|
Add TsSeqKeyValue::isset.
|
2022-08-17 16:52:27 +03:00 |
|
levlam
|
5b22effaa6
|
Remove unused SeqKeyValue method.
|
2022-08-17 16:34:21 +03:00 |
|
levlam
|
110ef61861
|
Move SQLite to namespace tdsqlite.
|
2022-08-04 14:37:08 +03:00 |
|
levlam
|
eced652ca6
|
Add close state to fatal error message.
|
2022-07-30 12:33:57 +03:00 |
|
levlam
|
7b8a016a9e
|
Improve fatal error message.
|
2022-06-30 01:32:32 +03:00 |
|
levlam
|
32bac7bd24
|
Move Promise to tdutils.
|
2022-06-27 13:30:18 +03:00 |
|
levlam
|
d06a7ddf1c
|
Don't sync just created binlog.
|
2022-05-23 02:24:52 +03:00 |
|
levlam
|
163e739302
|
Add set_promises/fail_promises helper functions.
|
2022-04-13 17:40:12 +03:00 |
|
levlam
|
f2de47e5b5
|
Improve PerfWarningTimer logging on database opening.
|
2022-02-13 22:51:53 +03:00 |
|
levlam
|
f5d8e4de83
|
Use table_remove_if.
|
2022-02-10 12:23:52 +03:00 |
|
levlam
|
9e6d106585
|
Minor improvements.
|
2022-02-10 11:55:32 +03:00 |
|
levlam
|
2b1314295d
|
Check and fix half of FlatHashMap usages.
|
2022-02-10 00:59:52 +03:00 |
|
levlam
|
22ed61e1b7
|
More FlatHashMap usages.
|
2022-02-09 17:05:27 +03:00 |
|
levlam
|
bcc2adeb47
|
Fix includes and formatting.
|
2022-02-08 00:04:34 +03:00 |
|
Arseny Smirnov
|
86bceb2972
|
td: replace most of std::unordered_map usages to td::FlatHashMap
|
2022-02-07 21:21:31 +01:00 |
|
levlam
|
8085779cdc
|
Update copyright year.
|
2022-01-01 03:35:39 +03:00 |
|
levlam
|
1782b8e478
|
Minor improvements.
|
2021-12-16 16:16:34 +03:00 |
|
levlam
|
7bff3ed912
|
Add SqliteKeyValue::set_all.
|
2021-12-12 22:34:19 +03:00 |
|
levlam
|
ef7ccc020a
|
Remove SeqNo from SqliteKeyValue.
|
2021-12-12 15:41:06 +03:00 |
|
levlam
|
42aadccc8b
|
Fix warning.
|
2021-12-07 13:10:30 +03:00 |
|
levlam
|
e740f5f86c
|
Try a few times to find the new binlog after renaming it. This could help on some virtual file systems like /mnt directory on WSL 2.0.
|
2021-12-06 13:58:11 +03:00 |
|
levlam
|
a6c0902ad7
|
Silence g++ warnings.
|
2021-12-01 16:01:27 +03:00 |
|
levlam
|
e7dfed10a5
|
Increase performance warning time to a reasonable value.
|
2021-11-17 09:07:23 +03:00 |
|
levlam
|
43855f0ce4
|
Improve error message.
|
2021-11-14 10:07:04 +03:00 |
|
levlam
|
b731414d42
|
Init some fields just in case.
|
2021-11-11 17:39:09 +03:00 |
|
levlam
|
9f44816a62
|
Minor improvements.
|
2021-10-21 12:51:16 +03:00 |
|