When casbin is first initialized; it tries to apply / check migrations against the database. During this process it seems to use a lock.
With this in mind, we should find a way to not fail - if a migration is already running, either with a retry (w/ backoff), or some other error handling method.
When casbin is first initialized; it tries to apply / check migrations against the database. During this process it seems to use a lock.
With this in mind, we should find a way to not fail - if a migration is already running, either with a retry (w/ backoff), or some other error handling method.