Skip to content

Conversation

@migstopheles
Copy link

ModelPool.createModel is always called with empty config, so always breaks when using non-default storage URLs e.g. HUBOT_MARKOV_STORAGE_URL=postgres://postgres:password@localhost:5432/hubot.

This change keeps the current behaviour, but fails over to look up the instance config, which is provided from env vars and passed into the instance in the module root

`ModelPool.createModel` is always called with empty config, so always breaks when using non-default storage URLs e.g. `HUBOT_MARKOV_STORAGE_URL=postgres://postgres:password@localhost:5432/hubot`.

This change keeps the current behaviour, but fails over to look up the instance config, which is provided from env vars and passed into the instance in the module root
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant