You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If using a state store such as a database, multiple users may be trying to perform migrations at the same time. This would yield unwanted results.
Suggested sample configuration:
{/** * Invoked at the beginning of a migration round to establish a global lock. * If `lockTimeout` has been specified, this method will be wrapped * in Promise.race() against a timer that causes the migration to fail. * * @param context * @return Once a lock has been obtained. */lock: async(context)=>{},/** * Invoked to release any global lock acquired by the `lock` function. */unlock: async(context)=>{},/** * The number of milliseconds to give up after if a lock cannot be obtained * or released. This is only applicable if the `lock` function is implemented. */lockTimeout: 0,}
The text was updated successfully, but these errors were encountered:
If using a state store such as a database, multiple users may be trying to perform migrations at the same time. This would yield unwanted results.
Suggested sample configuration:
The text was updated successfully, but these errors were encountered: