diff options
author | Fyodor Kupolov <fkupolov@google.com> | 2017-07-13 15:36:57 -0700 |
---|---|---|
committer | Fyodor Kupolov <fkupolov@google.com> | 2017-07-18 18:21:10 -0700 |
commit | fd9c4a54cf91ce88a200614149efee10dc9a7595 (patch) | |
tree | 6e751b19ca08647383227756a504411804c83d20 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | d7fad0e1cebbb6c352082ea911a85ade2adba833 (diff) |
Close idle sqlite connections
Idle connections are now closed 30 seconds after being returned to the
pool. In-memory databases and databased with attached databases
are exempt from closing idle connections.
The new behavior is enabled on all devices (temporarily).
Use "setprop persist.debug.sqlite.close_idle_connections 0" to disable
Test: manual - devices boots, no app crashes, auth(accounts.db) works
Test: database CTS tests + SQLiteConnectionPoolTest + run_newdb_perf_test.sh
Bug: 63398887
Change-Id: Idc11e49149292d219a15502c1707c40ef27e3ddb
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions