Commit Graph

29 Commits

Author SHA1 Message Date
levlam
aa05180325 Update TDLib and improve TQueue GC. 2022-10-14 00:46:54 +03:00
levlam
018b4fc6f7 Stop ClientManager watchdog at the beginning of closing. 2022-10-13 01:23:05 +03:00
levlam
b44bc1cabd Update TDLib and use AsyncFileLog instead of FileLog. 2022-10-09 20:16:45 +03:00
levlam
3be8cb6323 Move dump_statistics to ClientManager. 2022-10-06 22:18:36 +03:00
levlam
022bed651c Move TQueue::run_gc to ClientManager. 2022-10-06 21:42:33 +03:00
levlam
337b657f9c Add watchdog for ClientManager's thread. 2022-10-05 00:06:48 +03:00
levlam
04825c4b70 Move ClientManager to a separate thread. 2022-10-04 18:27:50 +03:00
levlam
254ad97805 Update TDLib to 1.8.7 and support extended_media in sendInvoice. 2022-09-23 20:29:42 +03:00
levlam
27bb4831f6 Add active_request_count and active_file_upload_bytes to bot statistics. 2022-09-18 02:54:22 +03:00
levlam
11d27e3e52 Don't output empty fields in bot statistics. 2022-09-18 02:15:53 +03:00
levlam
5eb24c7e63 Improve statistics retrieval. 2022-08-24 15:48:27 +03:00
levlam
95131fe376 Update TDLib. 2022-06-30 20:27:08 +03:00
levlam
3de310c951 Use LambdaPromise instead of PromiseActor. 2022-06-30 19:59:30 +03:00
levlam
06d40edb0a Allow to specify a secret_token in setWebhook to ensure that webhook was set by the domain owner. 2022-05-13 16:39:32 +03:00
levlam
4925532c25 Use td::unique_ptr instead of std::unique_ptr. 2022-03-16 12:52:34 +03:00
levlam
3e9da68537 Use td::FlatHashTable instead of std::unordered_map/set. 2022-03-16 12:41:12 +03:00
levlam
208fd70d58 Minor improvements. 2022-01-25 18:18:44 +03:00
levlam
5130c52676 Add is_active to bot statistics. 2021-10-27 19:43:41 +03:00
levlam
6aa090a43a Improve MultiPromiseActorSafe usage. 2021-10-26 14:28:09 +03:00
levlam
e715de9e1c Count number of active clients with a given tqueue_id. 2021-09-30 23:23:41 +03:00
levlam
eafb9375d2 Allow to change tag verbosity level. 2021-08-02 23:57:11 +03:00
levlam
8a3d43daa9 Output TQueue load time to log. 2021-06-26 04:22:29 +03:00
levlam
08a92a2347 Use absolute file paths. 2021-06-22 21:26:41 +03:00
levlam
7de971ec20 Simplify Query creation and statistics. 2021-06-14 22:47:01 +03:00
levlam
7f9e9fd809 Update TDLib. 2021-05-20 23:51:37 +03:00
levlam
baa16f5e87 Improve HTTP error code for requests with unacceptable bot token. 2021-01-15 15:33:57 +03:00
levlam
a1e7249750 Update copyright year. 2021-01-06 17:24:16 +03:00
levlam
79134758a8 Use "time" for monotonic time variables. 2020-11-21 17:38:11 +03:00
levlam
74559bab15 Telegram Bot APi server initial commit. 2020-11-03 19:34:10 +03:00