getgort / gort

Gort is a chatbot framework designed from the ground up for chatops.

Home Page:https://guide.getgort.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make DAL not a singleton

clockworksoul opened this issue · comments

The data access layer uses a singleton representation, which has led to race conditions and increased complexity due to the need for locking.

The DAL should return a new DataAccess instance for each request.

@clockworksoul Now your change was merged, can this be closed?

Oops! Yes.