Skip to content

Commit d7f81bd

Browse files
committed
updates
1 parent e4adb7a commit d7f81bd

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

nettacker/database/db.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,6 @@ def create_connection():
5050
connection.setbusytimeout(int(config.settings.timeout)*100)
5151
cursor = connection.cursor()
5252

53-
<<<<<<< HEAD
54-
db_engine = create_engine(
55-
db_inputs(Config.db.engine),
56-
connect_args=connection_args,
57-
pool_size=50,
58-
pool_pre_ping=True,
59-
)
60-
Session = sessionmaker(bind=db_engine)
61-
=======
6253
# Performance enhancing configurations. Put WAL cause that helps with concurrency
6354
cursor.execute(f"PRAGMA journal_mode={Config.db.journal_mode}")
6455
cursor.execute(f"PRAGMA synchronous={Config.db.synchronous_mode}")
@@ -75,7 +66,6 @@ def create_connection():
7566
pool_pre_ping=True,
7667
)
7768
Session = sessionmaker(bind=db_engine)
78-
>>>>>>> 7292072d (managing sqlalchemy along with APSW and it works)
7969

8070
return Session()
8171

0 commit comments

Comments
 (0)