Skip to content

Commit 1d49766

Browse files
authored
docs: add begin_pending_transactions() to the background thread example for TransactionPingingPool (#63)
Co-authored-by: larkee <[email protected]>
1 parent b16ee7c commit 1d49766

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/advanced-session-pool-topics.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ started before it is used:
103103
while True:
104104
# (Optional) Perform other background tasks here
105105
pool.ping()
106+
pool.begin_pending_transactions()
106107
107108
108109
background = threading.Thread(target=background_loop, name='ping-pool')

0 commit comments

Comments
 (0)