Skip to content

Commit b95930e

Browse files
committed
minor #10113 Problem with transactions (betzholz)
This PR was submitted for the 4.1 branch but it was merged into the 4.0 branch instead (closes #10113). Discussion ---------- Problem with transactions <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- 12c9562 Problem with transactions
2 parents c3184d3 + 12c9562 commit b95930e

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)