Remove stale data from a client DB when client is terminated 56/258856/1 accepted/tizen/unified/20210603.130735 submit/tizen/20210531.043319
authorSeonah Moon <seonah1.moon@samsung.com>
Thu, 27 May 2021 02:34:32 +0000 (11:34 +0900)
committerSeonah Moon <seonah1.moon@samsung.com>
Thu, 27 May 2021 02:35:00 +0000 (11:35 +0900)
commit5eb5bd612ea1ded58b6ddf998999f68c64a81bf5
treea8d0612018c15c8e0931946e758c26287b31bc83
parent673fc6f717bf26c47e82c71a598a7f248d190356
Remove stale data from a client DB when client is terminated

[Problem]
a client DB size is increased unlimitedly when a client is terminated by
itself or a crash.

[Cause]
a client DB is cleaned only if a client is live and has no response
during 2 minutes.

Change-Id: Ib164be4cf446bd6c30b0bc89b50d902b0cc5955f
packaging/download-provider.spec
provider/download-provider-client.c
provider/download-provider-db.c