![]() System : Linux host44.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64 User : vapecompany ( 2719) PHP Version : 7.4.33 Disable Function : NONE Directory : /proc/self/root/opt/imunify360/venv/lib/python3.11/site-packages/defence360agent/model/ |
Upload File : |
import defence360agent.model.tls_check as tls_check # actual database connection is done during runtime, to prevent # 'locking protocol' error when bringing database connection though # fork() (during demonization) # See https://stackoverflow.com/questions/46331178/causes-of-sqlite3-operationalerror-locking-protocol-exception # noqa E501 db = tls_check.SqliteDatabaseWrapper( None, pragmas=[("journal_mode", "wal"), ("foreign_keys", "ON")], regexp_function=True, )