mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-07 21:51:13 -07:00
Added transient retries for the MySql connections
This commit is contained in:
parent
94b40c0327
commit
15b71d108e
1 changed files with 1 additions and 0 deletions
|
@ -123,6 +123,7 @@ namespace Ombi.Extensions
|
||||||
options.UseMySql(config.ConnectionString, b =>
|
options.UseMySql(config.ConnectionString, b =>
|
||||||
{
|
{
|
||||||
b.CharSetBehavior(Pomelo.EntityFrameworkCore.MySql.Infrastructure.CharSetBehavior.NeverAppend);
|
b.CharSetBehavior(Pomelo.EntityFrameworkCore.MySql.Infrastructure.CharSetBehavior.NeverAppend);
|
||||||
|
b.EnableRetryOnFailure();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue