frameworks_system_utils/kvdb
yintao 6b596e4ff5 kvdb: Set the maximum listening count for kvdb separately
kvdbd is single threaded.
If CP calls property_list, AP'S kvdbd will continue to send to cp,
then accept will not be executed.
If another thread at CP loops to call property_set,
the AP server-side's pending queue will be full and reject next connection.

Bluetooth now loops through 15 times to call 'property_set',
So to avoid rejecting the connection,
set a macro to separately manage the listening count of kvdb

Signed-off-by: yintao <yintao@xiaomi.com>
2025-12-15 18:24:20 +08:00
..
backend.c kvdb: use filekv over tmpfs as no-persist kv backend 2025-12-15 18:24:17 +08:00
client.c kvdb: add retry if recv's errno is EAGAIN 2025-12-15 18:24:19 +08:00
common.c kvdb: Add more apis for kvdb handle error case 2025-12-15 18:24:19 +08:00
direct.c rename property_reload to property_load and Support for passing parameters 2025-12-15 18:24:18 +08:00
exitprop.c kvdb:add API exitprop for exit kvdbd server 2025-12-15 18:24:17 +08:00
file.c utils:add unistd.h 2025-12-15 18:24:18 +08:00
getprop.c fix compile warning 2025-12-15 18:24:17 +08:00
internal.h kvdb: use filekv over tmpfs as no-persist kv backend 2025-12-15 18:24:17 +08:00
nvs.c frameworks/system: Fix some minor issues when features on specific product-dev are switched to dev-system 2025-12-15 18:24:19 +08:00
qemu_properties.c goldfish: convert from qemu.sf.lcd_density to ro.sf.lcd_density 2025-12-15 18:24:17 +08:00
server.c kvdb: Set the maximum listening count for kvdb separately 2025-12-15 18:24:20 +08:00
setprop.c kvdb/setprop: Check return value of property_commit() 2025-12-15 18:24:15 +08:00
system_properties.c Open source transformation 2025-12-15 18:24:17 +08:00
unqlite.c kvdb:dump more information when API failed 2025-12-15 18:24:18 +08:00