Richard Fuchs
b0d2b82199
MT#55283 replace g_atomic with atomic_*
Change-Id: Ia0729df4449e8bd4a2028d0373089e0fc9e1e042
2 months ago
Richard Fuchs
b6bd9804a0
MT#55283 upgrade xmlrpc_callback to string
Simply take the xmlrpc-callback address as string and don't try to parse
it out. Store it in the call object as string as well.
Obsolete `created_from_addr`. The string form `created_from` is all we
need.
Change `created_from` to `str` as well.
Change-Id: Ib67b57b1d2d474d7b033f56ef8be59f71e44641b
5 months ago
Richard Fuchs
c8dd521e33
MT#55283 obsolete SSRC tracking
Change-Id: Ic0a3c7826180e1e1f4a783dcc6d775c92fe38d1f
8 months ago
Richard Fuchs
cf22d82932
MT#55283 eliminate input/output combination SSRC
Change-Id: I94636b7f6fb6fb31cd3bf332fffe0203e17f6c16
8 months ago
Richard Fuchs
206e7db48b
MT#55283 scale redis timeouts
Change-Id: I7594f38da85a61c3846f8c5eb41ee01b63de36ac
8 months ago
Richard Fuchs
e12ba22a7c
MT#55283 scale redis timers
Change-Id: I8b9fcbb63ab096c7f1362f2df2f137258c45dc12
8 months ago
Richard Fuchs
4eadfd2274
MT#55283 scale delete-delay
Change-Id: I61478a8f9d08921dd086735b96f6594e22690d30
8 months ago
Richard Fuchs
482166f0dc
MT#55283 scale offer-timeout
Change-Id: I35419b378eaef025ec32dce616fdd046d3e05c8e
8 months ago
Richard Fuchs
d3dc92aca9
MT#55283 scale final-timeout
Change-Id: I59f95f472477099cb71caebd828b2178f2577285
8 months ago
Richard Fuchs
3261098384
MT#55283 scale timeout
Change-Id: I23628cfcf4e5044300a01c1e15591746467df1ba
8 months ago
Richard Fuchs
9061ce05be
MT#55283 scale silent-timeout
Change-Id: I111628b82110df3b37922c2aeffae401abf782f8
8 months ago
Richard Fuchs
27ff6e6f57
MT#55283 convert last_redis_update to int64_t
Change-Id: Id521b8b87ae2366c341e4b9871f253a24e750538
8 months ago
Richard Fuchs
aadaa7620f
MT#55283 obsolete some timeval_from_us
Change-Id: Ie290c227e9120194732bfad32a56308f6cbd1db4
8 months ago
Richard Fuchs
a4bd720105
MT#55283 convert time_t to int64_t
Change-Id: I9664249782355f7363a46bafcca6504415585875
8 months ago
Richard Fuchs
ad65c9096f
MT#55283 convert call structs to int64_t
Change-Id: If1a077d206d96914651b3e4624e7fc09f239ed09
8 months ago
Richard Fuchs
7b9ec8699f
MT#55283 convert last_packet to int64_t
Change-Id: Ib199a61352865566e45d5957aa520099d86066ee
8 months ago
Richard Fuchs
952429aa89
MT#55283 convert last_packet to int64_t
Change-Id: I21aec3c852a213c433b3a6c62d8b039303ec0f01
8 months ago
Richard Fuchs
165c42fb8e
MT#55283 convert calls to int64_t
Change-Id: I7c9a2229ba3eea418e009bb04def336476d2ec25
8 months ago
Richard Fuchs
c70510303a
MT#55283 convert rtpe_now to int64_t
First step in converting (almost) all timeval uses to int64_t
Change-Id: If20fd749c61c278273c535b68287df7e6f042808
8 months ago
Richard Fuchs
d75e44829d
MT#55283 replace UINT64F with PRIu64
Change-Id: I604226d2515dae6b7a348426b5e997dafc840042
8 months ago
Richard Fuchs
21de8d4b94
MT#55283 modernise timeval_subtract
Change-Id: I7715ee92e12e88d69e3f714a6714f691646e240c
10 months ago
Richard Fuchs
347c21fc7e
MT#55283 use typed GQueue
Change-Id: Iea5a5e988ea23a17a5b2da5f02cd972afae2db87
10 months ago
Richard Fuchs
267d244cb4
MT#55283 use array instead of hash table
Change-Id: Ie510523724d14d8c76bb9647ee184ea3756be06c
10 months ago
Richard Fuchs
3f15e3a494
MT#55283 add blank line to separate interfaces
Change-Id: I0c9b9bf4122fea54eb9f80f0a9464efc74054141
11 months ago
Richard Fuchs
fb1ad3f0cf
MT#55283 properly support empty keyspace list
If keyspace notifications are used at all, the respective objects and
threads must be created during startup. This requires at least some
keyspace to be configured. To support usage without any keyspaces
initially (and add them during runtime), add a special case (set
keyspace to -1).
Convert all keyspace variables to signed ints. Ignore negative keyspace
numbers where appropriate. Support Redis endpoint addresses without
database number.
Fixes #1902
Change-Id: I45a3c87bc515f9b14e64ec1ec0906dde271b5f8d
11 months ago
Richard Fuchs
6dbf098bc7
MT#55283 safeguard against incorrect usage
If keyspace notifications are not configured at all, bail with an error
when there is an attempt to add a new keyspace or remove one. We get a
segfault otherwise.
Closes #1902
Change-Id: Ie47cf5f7762792aabe38476739f0dcf9927787ce
11 months ago
Richard Fuchs
c07ab48457
MT#55283 whitespace/typo cleanups
Change-Id: I949a715f1037df2c84c84565df8ea0fda14be191
11 months ago
Richard Fuchs
b4c1dc8e1f
MT#61630 support evicting multiple cache entries
Change-Id: Ia332a6ba8b56d02bac8adefd9cff78ced4e5abc2
11 months ago
Richard Fuchs
048d745dfe
MT#55283 replace internal help with generated one
Change-Id: I2bab78c0a1ce85c1868398d48bcd2a3bab847ee2
11 months ago
Richard Fuchs
2c2daa920a
MT#55283 embed help into CLI data
Change-Id: Ic10a82f27653d400f75a2bcab65a7936431e2e94
11 months ago
Richard Fuchs
f19737a53f
MT#55283 add return value to cw_printf
Change-Id: Ibd4b6b18adb86919d99c258e526d79d4ab5d8ce1
11 months ago
Richard Fuchs
42c46f2d68
MT#55283 use string hashing for CLI parsing
Change-Id: I270deca0e5fc9f07be501f9a4c336244fc50be9b
11 months ago
Richard Fuchs
8e50664fa1
MT#55283 refactor CLI structures with macros
No functional change.
Change-Id: I8fa9b9d6ee61aafadf01016bd2ed64be6cdbfef8
11 months ago
Richard Fuchs
d707e206ea
MT#61822 track and report cache mtimes and atimes
Change-Id: Idaaebe925aa26275002bb2c436b13216c7e99064
11 months ago
Richard Fuchs
9673703476
MT#61822 add new "CLI" NG command
Change-Id: Idd4114783b1bb6cc683970110a2f322ec07b894a
11 months ago
Richard Fuchs
d436c1d361
MT#61822 support evicting player cache data
Change-Id: I58c1127f2b906a3e238a2dc8579d433abe72c50b
11 months ago
Richard Fuchs
601abd2e5b
MT#61822 add list player cache
Change-Id: If40ab9218354b95ef2b4fba47cd5e38ab318a325
11 months ago
Richard Fuchs
e6172c34a2
MT#61822 add CLI cmd to add cached media
Change-Id: I749833d1548069444b36d1933a56080eebf9583d
11 months ago
Richard Fuchs
8286cc93b9
MT#61822 support reloading of FS cache
Change-Id: I028a9f8ffb6ff51f753744fc39d0a5c0b19a9e7b
11 months ago
Richard Fuchs
0fd3ac73a8
MT#61822 supporting removing entries from FS cache
Change-Id: Ie358778ce5d8d6872bc4964367cf0ec22296934f
11 months ago
Richard Fuchs
33be3468a7
MT#61822 support listing contents of FS cache
Change-Id: I31f9fe2bd0b95e832e285fa96ea969c703a816be
11 months ago
Richard Fuchs
a2ffa18d6c
MT#61822 add CLI command to list media cache
Change-Id: I41d388abefa1b356d7fecf7b1dc662d899a8f9ac
11 months ago
Richard Fuchs
33128b8c4a
MT#61822 add mechanism to remove cached media
Change-Id: I4be32b9b7cf122f09b891aff616c18f5ac883cd9
11 months ago
Richard Fuchs
e7c424d1ac
MT#61822 support preloading media from DB
Change-Id: Ieba8c9dd7ee413c64292a2fd48a16d38bade6be3
11 months ago
Richard Fuchs
77e8542229
MT#61822 add CLI command to reload media
Change-Id: I9c8c5423f1872169d9690282626abaad41c2597d
11 months ago
Richard Fuchs
ecfdb0921e
MT#61822 improve CLI keyword matching
Doing a simple prefix string match is not enough as there may be
keywords that are equal to a prefix of another keyword. Make sure the
keyword is followed by a space or newline or end of line. This also
removes the burden of having to skip over leading spaces in the CLI
handlers.
Change-Id: I118a08e1b33d9bf592d3d80101e4f0634401adbd
11 months ago
Richard Fuchs
3e7f17335d
MT#61822 streamline CLI config diff/revert
Replace the awkward unnecessary strcmp case distintion with some macro
invokations.
Change-Id: I0ecd2312e9586e3221770aaf5076d6b8ce4371b3
11 months ago
Richard Fuchs
13ca0bff5a
MT#61822 generalise CLI handlers
Remove redundant code and replace with a generic parser.
Change-Id: I0fd2946eaabad13b59bca245c7db9cd0c2730baf
11 months ago
Richard Fuchs
44d5810be2
MT#61822 streamline unneeded %s format
Change-Id: I85cab6f86545ecf63dbfa7b6aa77cb5d412e9bb5
11 months ago
Richard Fuchs
2ce79f9bb4
MT#61822 add type safety to obj_alloc
Make the macro return the appropriate pointer type, and make sure the
free function takes an argument of the same type. This also eliminates
some boilerplate type-casting code.
Change-Id: I3094271fa2c53ec93b9ff9f837d461cf422e0f12
11 months ago