opt
/
imunify360
/
venv
/
lib
/
python3.11
/
site-packages
/
defence360agent
/
model
➕ New
📤 Upload
✎ Editing:
instance.py
← Back
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"), ("busy_timeout", 5000), ], regexp_function=True, )
💾 Save Changes
Cancel
📤 Upload File
×
Select File
Upload
Cancel
➕ Create New
×
Type
📄 File
📁 Folder
Name
Create
Cancel
✎ Rename Item
×
Current Name
New Name
Rename
Cancel
🔐 Change Permissions
×
Target File
Permission (e.g., 0755, 0644)
0755
0644
0777
Apply
Cancel