Skip to content

Commit 12c9562

Browse files
Boris Nikolaus Betzholzjaviereguiluz
Boris Nikolaus Betzholz
authored andcommitted
Problem with transactions
1 parent c3184d3 commit 12c9562

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doctrine/pdo_session_storage.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ To use it, first register a new handler service:
2929
# If you're using Doctrine & want to re-use that connection, then:
3030
# comment-out the above 2 lines and uncomment the line below
3131
# - !service { class: PDO, factory: 'database_connection:getWrappedConnection' }
32+
# sometimes you get transaction problems (ex. after login) then add
33+
# - { lock_mode: 1 }
3234
3335
.. code-block:: xml
3436

0 commit comments

Comments
 (0)