mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-08 07:23:10 -06:00
Explain TODO more
This commit is contained in:
parent
c1ca544301
commit
6b84f5d673
|
|
@ -73,7 +73,7 @@ func main() {
|
||||||
log.Panicf("startup: failed to create sync server database with data source %s : %s", cfg.DataSource, err)
|
log.Panicf("startup: failed to create sync server database with data source %s : %s", cfg.DataSource, err)
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: DO NOT USE THIS DATABASE
|
// TODO: DO NOT USE THIS DATA SOURCE (it's the sync one, not devices!)
|
||||||
deviceDB, err := devices.NewDatabase(cfg.DataSource)
|
deviceDB, err := devices.NewDatabase(cfg.DataSource)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Panicf("startup: failed to create device database with data source %s : %s", cfg.DataSource, err)
|
log.Panicf("startup: failed to create device database with data source %s : %s", cfg.DataSource, err)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue