Andrea Cavalli
|
ab5a0774e7
|
Merge remote-tracking branch 'td/master'
|
2022-12-14 16:10:30 +01:00 |
|
levlam
|
d2060a2eb3
|
Improve log messages with time.
|
2022-12-11 01:32:46 +03:00 |
|
levlam
|
b11a5b8ad4
|
Fix log size after rotation.
|
2022-11-29 17:39:46 +03:00 |
|
Andrea Cavalli
|
5f5fa9afa2
|
Merge remote-tracking branch 'td/master'
|
2022-11-25 19:27:21 +01:00 |
|
levlam
|
3ec53c8d78
|
Fix compilation error.
|
2022-11-24 15:25:15 +03:00 |
|
levlam
|
276b654f27
|
Return back randomize_hash to WaitFreeHashMap.
|
2022-11-24 02:09:04 +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
|
8a73d14c0f
|
Minor FloodControlFast improvements.
|
2022-11-23 00:45:17 +03:00 |
|
Arseny Smirnov
|
b9210f7f6d
|
Rewrite FoodControlFast: now it uses a bucket logic
|
2022-11-22 15:59:01 +01:00 |
|
levlam
|
0eefb331f8
|
Improve size formatting.
|
2022-11-22 14:50:10 +03:00 |
|
levlam
|
f53cf540b7
|
Use WaitFreeHashMap to store poll messages.
|
2022-11-22 12:58:07 +03:00 |
|
levlam
|
468edb4d61
|
Use double timestamps in FloodControlStrict.
|
2022-11-21 21:07:56 +03:00 |
|
levlam
|
f4c1247327
|
Minor FloodControlStrict improvements.
|
2022-11-21 20:52:12 +03:00 |
|
levlam
|
44df11cfcf
|
Decrease maximum size of wait-free hash tables.
|
2022-11-21 18:12:26 +03:00 |
|
levlam
|
f1ee808465
|
Fix warning.
|
2022-11-18 15:19:01 +03:00 |
|
levlam
|
47aa5b51c7
|
Improve log guard.
|
2022-11-18 14:33:23 +03:00 |
|
levlam
|
f8e2af3f59
|
Rename size() to calc_size() for WaitFree hash tables.
|
2022-11-18 13:16:24 +03:00 |
|
levlam
|
35a9a4b785
|
Make WaitFreeHashSet recursive.
|
2022-11-18 13:08:04 +03:00 |
|
levlam
|
e7b7217256
|
Make WaitFreeHashMap recursive.
|
2022-11-18 12:53:26 +03:00 |
|
levlam
|
a1f19371b0
|
Improve to_integer_safe error message.
|
2022-11-18 00:25:36 +03:00 |
|
levlam
|
59d4248efb
|
Add voluntary spin lock for logging to reduce conflicts with stderr.
|
2022-11-14 14:34:31 +03:00 |
|
Andrea Cavalli
|
8960b51fdf
|
Merge remote-tracking branch 'tdlib/master'
|
2022-11-12 13:00:01 +01:00 |
|
levlam
|
97f14fb6a9
|
Fix remove_emoji_modifiers.
|
2022-11-11 22:20:38 +03:00 |
|
levlam
|
ed1457b69b
|
Use std:🧵:native_handle() only for MSVC, because it is unsafe to assume native_handle_type otherwise.
|
2022-11-26 02:48:43 +03:00 |
|
Eric Kotato
|
b281a719fa
|
Fix MinGW threading compilation error (#2210)
|
2022-11-26 00:36:48 +03:00 |
|
levlam
|
8b4bc80860
|
Fix AsyncFileLog building without threads.
|
2022-11-09 14:48:14 +03:00 |
|
levlam
|
ab14065168
|
Improve fatal error handling in AsyncFileLog.
|
2022-11-07 14:59:18 +03:00 |
|
Andrea Cavalli
|
f42cce37a4
|
Merge remote-tracking branch 'td/master'
|
2022-11-06 12:19:22 +01:00 |
|
levlam
|
d1afd1c3b7
|
Minor improvements.
|
2022-11-02 19:51:41 +03:00 |
|
levlam
|
e11804b5b0
|
Don't truncate logs after rotation.
|
2022-11-01 14:13:14 +03:00 |
|
levlam
|
8c694cd3d3
|
Improve TimedStat value after long pause.
|
2022-11-01 14:03:20 +03:00 |
|
levlam
|
a3baecab16
|
Improve field names.
|
2022-10-27 13:06:12 +03:00 |
|
levlam
|
6319862890
|
Improve some emplace_back/push_back usage.
|
2022-10-27 12:53:53 +03:00 |
|
levlam
|
dcc928419f
|
Fix parse_url_query test.
|
2022-10-26 09:13:42 +03:00 |
|
levlam
|
60f094bdf2
|
Move ConcurrentHashMap test out of namespace td.
|
2022-10-21 13:18:58 +03:00 |
|
levlam
|
5217a86e0d
|
Support redirect_stderr in AsyncFileLog.
|
2022-10-15 10:17:42 +03:00 |
|
levlam
|
ee28a37906
|
Minor improvements.
|
2022-10-12 15:59:58 +03:00 |
|
levlam
|
683627a350
|
Make all operator bool const and nonexcept.
|
2022-10-09 19:30:18 +03:00 |
|
levlam
|
7f5f6e41ad
|
Minor improvements.
|
2022-10-09 19:00:14 +03:00 |
|
levlam
|
5a29dcd337
|
Avoid redundant usages of Status::error().
|
2022-10-09 14:15:54 +03:00 |
|
levlam
|
78ba8fa983
|
Add AsyncFileLog.
|
2022-10-09 13:04:57 +03:00 |
|
levlam
|
f12b2f5efe
|
Fix warning.
|
2022-10-08 20:54:58 +03:00 |
|
levlam
|
4af5c4f5dd
|
Add logging for slow logging to file.
|
2022-10-05 23:55:50 +03:00 |
|
levlam
|
67aa7082d6
|
Add thread.get_id() test.
|
2022-10-04 23:00:02 +03:00 |
|
levlam
|
e984706622
|
Add td:🧵:get_id().
|
2022-10-04 22:48:55 +03:00 |
|
levlam
|
628b8901bc
|
Optimize logging to NULL on Windows. Fixes #2112.
It is possible to do only about 100 writes to NULL per second, which is about 8-80 times less than even performance of writes to a console app.
|
2022-10-03 15:11:23 +03:00 |
|
levlam
|
10680fe353
|
Minor improvements.
|
2022-10-03 14:39:20 +03:00 |
|
levlam
|
8f0ffd0a65
|
Reduce MAX_STORAGE_SIZE for wait free hash tables to reduce split_storage time.
|
2022-09-30 16:38:11 +03:00 |
|
levlam
|
ee04923ce1
|
Add lazy initialization for keyword_stickers_map_.
|
2022-09-27 16:16:36 +03:00 |
|