Skip to content

Commit

Permalink
setting to reduce time out errors for oracle connections
Browse files Browse the repository at this point in the history
  • Loading branch information
abimichel authored May 23, 2024
1 parent 5f7cac9 commit 4c99164
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions data_replication_parametrized_audit_os.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@

# oracledb.init_oracle_client(lib_dir="/opt/oracle/instantclient_21_12")

oracledb.defaults.fetch_lobs = False # setting to reduce time out errors for oracle connections

# In[3]: Retrieve Oracle database configuration
oracle_username = os.environ['DB_USERNAME']
oracle_password = os.environ['DB_PASSWORD']
Expand Down

0 comments on commit 4c99164

Please sign in to comment.