levlam
|
e0caa301a5
|
TQueue: fix adding already expired events.
GitOrigin-RevId: b78748cd001d9439c9e215b378b76b973a77a79a
|
2020-08-16 02:57:31 +03:00 |
|
levlam
|
f266aa3912
|
Minor fixes.
GitOrigin-RevId: a4aacfa1ecab2718475d32bcbd99f9671ba7e982
|
2020-08-14 22:51:10 +03:00 |
|
levlam
|
fe5bf41980
|
Minor improvements.
GitOrigin-RevId: 45477784ae1840f217b9394e3d0cc56e1241f9ce
|
2020-08-07 22:14:42 +03:00 |
|
Arseny Smirnov
|
80d98def74
|
TQueue: run_gc returns count of deleted events
GitOrigin-RevId: 7cddd57c1c2842eade83aa253209462e33629dc9
|
2020-08-07 19:36:23 +03:00 |
|
Arseny Smirnov
|
857f981847
|
TQueue: minor refactoring of gc
GitOrigin-RevId: 4f4d460723a60f075e2a66d2b1269bc8e41927d1
|
2020-08-07 14:03:39 +03:00 |
|
levlam
|
2097934da5
|
Optimize TQueue::run_gc, so it can be run arbitrary often.
GitOrigin-RevId: f7fc488cf3682683c0164c557992dbbc4eed9d4d
|
2020-08-07 06:06:29 +03:00 |
|
levlam
|
5109f43435
|
Use unix_time in TQueue.
GitOrigin-RevId: d49c0871c7cb1a4315e38a66c198f56cb2b89428
|
2020-08-06 04:02:54 +03:00 |
|
levlam
|
7187b9c32f
|
Erase the dummy event when new event is pushed to TQueue.
GitOrigin-RevId: 42f310f52cf74ddf32655fe3da42c731ff24e799
|
2020-07-25 03:11:03 +03:00 |
|
levlam
|
7d8d13606c
|
Use std::map instead of VectorQueue in TQueue.
GitOrigin-RevId: a419aa0c9ee5954f8bf1681e6e4097b3e632fa0c
|
2020-07-25 00:37:45 +03:00 |
|
levlam
|
2882e96b63
|
Do not delete queue if there is no callback.
GitOrigin-RevId: d19a6b2c2c5ee517bae5cf809068f413217ca723
|
2020-07-24 14:03:59 +03:00 |
|
levlam
|
8132c4dfd3
|
Fix TQueue run_gc statistics.
GitOrigin-RevId: 2311da0ba65e33de466c3f627058ec2a973dcb76
|
2020-07-24 07:12:43 +03:00 |
|
levlam
|
85ba9e5654
|
Fix TQueue binlog replaying.
GitOrigin-RevId: 172d70847206253de981d38fed329276b2f778e0
|
2020-07-24 06:57:48 +03:00 |
|
levlam
|
db29976a90
|
Check queue constraints in TQueue::do_push.
GitOrigin-RevId: 385d120c8bdee21bb18d97699af4b7b78fa36277
|
2020-07-24 05:47:31 +03:00 |
|
levlam
|
692b0f18df
|
Drop only one week old empty queues from TQueue.
GitOrigin-RevId: b7ce4c1b4471cfa385ca4d268e8e052db0896ef3
|
2020-07-24 05:26:25 +03:00 |
|
levlam
|
70534a8aca
|
Add TQueue run_gc statistics.
GitOrigin-RevId: 371d38aa5c59d927b0f1e601f08ac7c7bbbdb137
|
2020-07-24 02:42:54 +03:00 |
|
levlam
|
060c01ace3
|
Minor improvements.
GitOrigin-RevId: b4e5073248377d84cb8acdf4a032970ec5cf5df9
|
2020-07-14 20:54:38 +03:00 |
|
Arseny Smirnov
|
d701e17cc6
|
close(Promise<>) interface for TQueue and BinlogKeyValue
GitOrigin-RevId: d2c524407888b99c9e6207f74828eb2da29a7720
|
2020-07-14 19:10:26 +03:00 |
|
levlam
|
32f9e4924f
|
Add limit on total TQueue events size.
GitOrigin-RevId: cd0d77e4b0e2d66d7c5253a6d36bd543bca95bd1
|
2020-07-13 23:48:15 +03:00 |
|
levlam
|
8872fbf6ac
|
Fix tdutils after merge.
GitOrigin-RevId: 5b9a863e405a9e3782157570156fda71bf2bb589
|
2020-06-26 02:24:13 +03:00 |
|
levlam
|
a9e95b7f4b
|
Add TQueue::get_size.
GitOrigin-RevId: 20b842bfb145a890e149f80bff56f0fa80785337
|
2020-06-24 15:11:39 +03:00 |
|
levlam
|
2ed9cb3b75
|
Minor fixes.
GitOrigin-RevId: ce9058c2075281697cc41de2ab970dd11e189f77
|
2020-06-13 05:13:11 +03:00 |
|
levlam
|
55ca575af5
|
Fix narrow_cast.
GitOrigin-RevId: 297ba41fd86e432b133c8415b6a1944773e025ba
|
2020-06-12 11:56:31 +03:00 |
|
levlam
|
00c30aa9dc
|
TQueue fixes.
GitOrigin-RevId: 87dd51ab556869a6066e9837cf8da34530cfbc4b
|
2020-06-12 03:02:20 +03:00 |
|
levlam
|
fc8d92b464
|
Remove tqueue test from namespace td.
GitOrigin-RevId: 3cedf8f7504df4bd1f33e1ab40feb18fbf03ace7
|
2020-06-12 00:46:47 +03:00 |
|
levlam
|
bee9b67e3c
|
Improve TQueue.
GitOrigin-RevId: 3146441d9035be886a616d8de504024df1602116
|
2020-06-11 23:54:56 +03:00 |
|
levlam
|
42e3aefc02
|
TQueue improvements.
GitOrigin-RevId: 753aba147aed58ccba167a83dd798987ce6da177
|
2020-06-11 18:12:16 +03:00 |
|
levlam
|
2a6eebec24
|
Fix logevent_id type.
GitOrigin-RevId: a609c2f25c1898defe031ce90c72957a031e3f65
|
2020-06-11 16:52:39 +03:00 |
|
levlam
|
22c9927314
|
Minor tqueue fixes.
GitOrigin-RevId: 827a336498dd57364aa8a2ac59d97ecacb05f5de
|
2020-06-11 16:43:26 +03:00 |
|
Arseny Smirnov
|
39e58f3eb9
|
TQueue: extra
GitOrigin-RevId: 7f746000e546b422034c0170e068d599317764c9
|
2019-09-06 18:55:19 +03:00 |
|
Arseny Smirnov
|
7a48b9bfc0
|
TQueue: interface for webhooks
GitOrigin-RevId: 521f25f183d76bcbb9143270660dd48b3bf8fc83
|
2019-08-27 18:06:00 +03:00 |
|
Arseny Smirnov
|
de5cc3e214
|
TQueue: big rewrite
GitOrigin-RevId: dc541f0fbdbc2ecdbba70b52b494756f763e78bb
|
2019-08-09 20:29:17 +03:00 |
|
Arseny Smirnov
|
db97a337fc
|
TQueue: bugfixes
GitOrigin-RevId: fd9d8e31594c51c89b7732db3fea6a27557a9553
|
2019-08-08 17:39:36 +03:00 |
|
Arseny Smirnov
|
5685591ff4
|
TQueue: store timeout in system time, drop old event when possible
GitOrigin-RevId: c1aa277d76e85e411828577ce7d6efd2d374058e
|
2019-08-07 19:14:36 +03:00 |
|
Arseny Smirnov
|
734a7e00a4
|
TQueue: return error in get, when from_id is clearly invalid
GitOrigin-RevId: 597c7d1928bc4bcfcdfbd87d3b898329047e74bd
|
2019-08-07 19:04:48 +03:00 |
|
Arseny Smirnov
|
3976bbb4c8
|
TQueue: now more than MAX_QUEUE_EVENTS events in each queue
GitOrigin-RevId: a8553f02f631fd34ef1451044c3ad7e27ee7d3dd
|
2019-08-07 18:36:37 +03:00 |
|
Arseny Smirnov
|
8226c9ab49
|
TQueue: do not drop tail_id whithout restart
GitOrigin-RevId: 54df1acc7b36303e128cfe1f6ac3e7ed4837eacd
|
2019-08-07 18:29:47 +03:00 |
|
Arseny Smirnov
|
62f6318edf
|
TQueue: delete on_pop
GitOrigin-RevId: f412be72f585ba19e9cdfcc2b30151f297beb761
|
2019-08-07 18:13:45 +03:00 |
|
Arseny Smirnov
|
791d4f3172
|
TQueue: some fixes.
GitOrigin-RevId: f0521fd9c323e05ffaf4877b92ad42a17ee71dcd
|
2019-08-07 18:13:10 +03:00 |
|
Arseny Smirnov
|
a8c74f9432
|
TQueue: export from tqueue, Tqueue.{cpp,h}
GitOrigin-RevId: 045ccbd0694d4906788a38bb30f16f0f9b0ef97d
|
2019-08-07 14:01:22 +03:00 |
|