Commit Graph

16 Commits

Author SHA1 Message Date
softsimon
6919393e6c
Refactored the DB class into a regular singleton class. 2022-04-13 17:38:42 +04:00
nymkappa
6fb0571b06
Refactor database pool use 2022-04-13 21:46:39 +09:00
wiz
2023d36603
Cleanup MySQL unix socket code and add to sample config 2022-03-14 13:11:04 +00:00
Djuri Baars
465529b03f sed and config fix for MySQL socket, accept CLA for @dsbaars 2022-03-14 13:45:50 +01:00
Djuri Baars
7fd9e27cc2 Add MySQL socket support 2022-03-14 13:45:34 +01:00
nymkappa
33897b029f
Set db connection to UTC - Fix hashrate indexing 2022-03-13 16:08:31 +01:00
nymkappa
89411f23d8
Set connection pool timezone to UTC - Close mysql connections upon error 2022-03-06 16:44:09 +01:00
softsimon
ec12f21113
Backend: Bumping Typescript version to 4.4.2 (#748)
* Backend: Bumping Typescript version to 4.4.2

* Replacing any types with instanceOf checks.
2021-08-31 15:09:33 +03:00
softsimon
35521f4871
Refactored when statistics cache from database is created.
refs #315
2021-01-30 21:40:04 +07:00
softsimon
c5c2222b8c
Increased database query timeouts
fixes #315
2021-01-30 19:20:52 +07:00
softsimon
5feaff130f
Adding missing error cause messages. 2020-10-28 11:00:48 +07:00
softsimon
45efb604c1
Revamping configuration file.
fixes #141
2020-10-19 11:57:02 +07:00
softsimon
472b1d35c2
Improve some logger error messages. 2020-10-15 11:12:33 +07:00
softsimon
4dacf292c2
Adding logger wrapper.
Log backend messages to syslog.
fixes #135
2020-10-13 15:27:52 +07:00
softsimon
86c0a5ec7b
Add setting to disable database use. 2020-07-23 00:04:29 +07:00
Simon Lindh
fd2209e75a Initial code commit. 2019-07-21 17:59:47 +03:00