Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasAlbertQC committed Jul 15, 2024
1 parent 301943a commit f22e5b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quetz/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def get_session_maker(
bind: sqlalchemy.engine.Engine | sqlalchemy.engine.Connection,
) -> Callable[[], sessionmaker]:
return sessionmaker(
autocommit=False, autoflush=True, bind=bind, expire_on_commit=False
autocommit=False, autoflush=True, bind=bind, expire_on_commit=True
)


Expand Down

0 comments on commit f22e5b3

Please sign in to comment.