question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Acquire timeout isn't implemented

See original GitHub issue

Are there any plans to implement acquireTimeout as a connection option (in keeping with mysqljs/mysql)?

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:3
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
c24wcommented, Apr 12, 2019

We made a monkey patch to help with this, back in 2017, which we wanted to share. We don’t have time to help the project converge with mysql, but your comment reminded us, so we spent some time making the patch generic. It’s now published as @7digital/mysql2-timeout. It only has a limited set of features, but hopefully it can help anyone needing acquireTimeout or queryTimeout.

3reactions
Setitchcommented, Nov 9, 2018

Wanted to +1 this, but if i get some time i will try to pull that as its not moved

Read more comments on GitHub >

github_iconTop Results From Across the Web

thread lock.acquire() timeout not implement ? · Issue #5945
I try: lock.acquire(1, 3) but the lock is acquired unconditionally, the timeout parameter not implement currently? test environment: ESP32, ...
Read more >
How to implement a Lock with a timeout in Python 2.7
Returns True if the lock was succesfully acquired, False otherwise. Timeout: - < 0 : Wait forever. - 0 : No wait. -...
Read more >
Datasources - Quarkus
For JDBC, the preferred datasource and connection pooling implementation is Agroal. ... The timeout before cancelling the acquisition of a new connection.
Read more >
Reactor Netty Reference Guide
SO_KEEPALIVE - When the connection stays idle for some time (the time is implementation dependent, but the default is typically two hours), TCP ......
Read more >
Secure reverse proxy messages - IBM
The interface version requested by the client is not supported by this server. ... The session management server was not able to obtain...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found