Commit Graph

24 Commits

Author SHA1 Message Date
Technerder
877dae612d Fixed file formatting 2021-07-10 21:23:48 -04:00
Technerder
5bf7da2074 Fixed DB retrieving test 2021-07-10 21:22:37 -04:00
Technerder
9c850f5235 Added function to retriever the underlying database connection pool 2021-07-10 21:09:49 -04:00
Technerder
bd837d91ab Reverted Close() method signature change 2021-07-09 13:29:58 -04:00
Technerder
85e612ec79 Removed Postgre Close test since the pgx implementation of Close() doesn't return an error,
Removed Storage.Close()'s return method since the pgx implementation of Close() doesn't return an error,
Removed Config.maxIdleConns since pgx implementation doesn't support setting a maximum number of idle connections
2021-07-02 18:04:33 -04:00
Roman
7bbbc01f84 feature: integrate SSL mode for PG connections (#77)
Right now, the default connection for postgres is `disable`. Some
databases require `verify` or even `required`.
This PR introduces a new implementation that allows the user to override
the `disable` mode. The PR keeps a backwards compatible config entry, that
sets the default behavior to `disable` if it's missing.
2021-05-18 13:00:40 +02:00
hi019
6a0f72c350 🐛 Fix bug preventing non-utf8 characters being saved in some databases (#87) 2021-05-05 21:17:52 -04:00
hi019
a66230ef17 Fix GC deleting values without expiry (#54)
* Test MYSQL Fix

* Test

* Add postgres

* Fix mysql

* Fix sqlite
2021-03-18 22:09:06 +01:00
Fenny
ab94351a60 ✏ return nil for notfound 2020-11-23 09:30:50 +01:00
Fenny
ddef41c2ee ✏ update comments 2020-11-17 13:56:09 +01:00
Fenny
cdf009407b 🩹 update tests 2020-11-06 16:05:53 +01:00
kiyon
25ec0e291e 🚤 Improve sql storage 2020-11-06 09:56:34 +08:00
Fenny
f9a30234b9 🧹 introduce reset and close 2020-11-06 01:41:46 +01:00
Fenny
f965c69512 🧪 update tests 2020-11-05 09:37:33 +01:00
Fenny
26cead0a82 Update postgres_test.go 2020-11-05 08:03:55 +01:00
Fenny
3ac51faaea Update postgres_test.go 2020-11-05 08:02:19 +01:00
Fenny
2da2e83bdd Update postgres_test.go 2020-11-05 07:10:25 +01:00
Fenny
2458ab7395 help 2020-11-05 05:58:52 +01:00
Fenny
79f1f1609e update tests 2020-11-05 05:57:14 +01:00
Fenny
f047848660 🎁 fix tests 2020-11-05 05:26:05 +01:00
Fenny
b4a848ca29 🎄 xmas present 2020-11-05 04:17:05 +01:00
Fenny
a6058cffb3 ✏ refactor storage 2020-11-04 20:49:53 +01:00
kiyon
34441f5b7c 👷 Separate database test into different tags and enable default test CI. 2020-11-03 08:59:29 +08:00
Fenny
ad49a4d6a6 👷‍♂️ add skeletons 2020-10-31 06:20:25 +01:00