Page MenuHomePhabricator

Refactor mariadb calls
Closed, DeclinedPublic

Description

From https://gitlab.wikimedia.org/repos/mediawiki/services/ipoid/-/merge_requests/171#note_60538

maybe we should introduce a mariadb.js file that loads the connections, and we can import that in different scripts (for read-only and read-write connections), because we repeat this pattern in multiple files