Set pool on hubbackend in memorybackend
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Peter Stuifzand 2019-03-24 16:50:57 +01:00
parent 6fe3e8fd8e
commit e4fddac6fc
Signed by: peter
GPG Key ID: 374322D56E5209E8

View File

@ -119,6 +119,7 @@ func NewApp(options AppOptions) (*App, error) {
app.backend = loadMemoryBackend(options.pool)
app.backend.AuthEnabled = options.AuthEnabled
app.backend.baseURL = options.BaseURL
app.backend.pool = options.pool
app.hubBackend = &hubIncomingBackend{app.backend, options.BaseURL, options.pool}