4 Commits
Author SHA1 Message Date
Clemens Lang 515a0640ec dbutil: Query pull requests from prDB, not wwwDB
In testing prDB, wwwDB and tracDB are all the same thing, but our
deployment actually uses three different databases, causing the
maintainer timeout cronjob to always fail.
2018-03-10 17:51:25 +01:00
Clemens Lang afbbb79c68 webhook: Add error logging for maintainer query
It seems incorrect database connection strings do not necessarily cause
problems until the first query, so logging the potential errors here is
very helpful when debugging.
2017-07-22 18:17:20 +02:00
Clemens Lang 87558909c1 db: Rename database configuration variables
*_DBNAME is not a good name for a variable that not only contains the
database name, but also the host and other potential options of the
database connection string.
2017-07-22 18:14:53 +02:00
Clemens Lang fd86cdda8e db: Allow configuring database host
In our deployment, the host needs to be /run/postgresql, not /tmp. Make
the entire database connection string configurable for maximum
flexibility.
2017-07-22 18:12:09 +02:00