Samy Sultan
Samy Sultan
fixed in next release
no, same issue mentioned [here](https://github.com/sijms/go-ora/issues/545#issuecomment-2071874779)
fixed 2.8.14
I make a testing code ```golang package main import ( "context" "database/sql" "fmt" go_ora "github.com/sijms/go-ora/v2" "os" "time" ) func main() { config, err := go_ora.ParseConfig(os.Getenv("DSN")) if err != nil {...
also I use the timeout context 2 times ```golang pingtmout, pingcle := context.WithTimeout(context.Background(), time.Second*time.Duration(5)) defer pingcle() _, err = db.ExecContext(pingtmout, "SELECT systimestamp from dual") if err != nil { fmt.Println("can't...
you use `Connection timeout = 60` and `Timeout = 5` they are same parameter
output ```golang 2024-04-28 15:34:19.424186 +0300 +03 ping db succeeded, getdura: 831.739ms execdur: 98.159ms 2024-04-28 15:34:24.530289 +0300 +03 ping db succeeded, getdura: 6µs execdur: 104.891ms 2024-04-28 15:34:29.630483 +0300 +03 ping db...
after setting `timeout=5` ```golang 2024-04-28 20:41:06.973845 +0300 +03 ping db succeeded, getdura: 663.595ms execdur: 67.603ms 2024-04-28 20:41:12.048339 +0300 +03 ping db succeeded, getdura: 26µs execdur: 73.874ms 2024-04-28 20:41:17.140386 +0300 +03...
the code after format: ```golang // context.Background() as the parent. ctx, cancel := context.WithTimeout(context.Background(), time.Duration(timeout)*time.Second) defer cancel() // Use this when testing the connection pool. if err = dbh.PingContext(ctx); err...
I make an example code that use `sqlx` timeout in connection string = 3 ```golang package main import ( "context" "fmt" "github.com/jmoiron/sqlx" _ "github.com/sijms/go-ora/v2" go_ora "github.com/sijms/go-ora/v2" "os" "time" ) func...