Hacked By AnonymousFox

Current Path : /proc/thread-self/root/proc/thread-self/root/proc/self/root/opt/imunify360/venv/lib64/python3.11/site-packages/defence360agent/model/
Upload File :
Current File : //proc/thread-self/root/proc/thread-self/root/proc/self/root/opt/imunify360/venv/lib64/python3.11/site-packages/defence360agent/model/instance.py

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,
)

Hacked By AnonymousFox1.0, Coded By AnonymousFox