2024-12-12 13:56:05: merge [main:5fbfe1b039c8b70814b6262508bfeda3a8069dd2];
This commit is contained in:
1 parent
e81f8c64cf
commit
0fbe723485
2 files changed
+3
-2
No files matched your search
@@ -112,8 +112,9 @@ func (s *Service) Run(ctx context.Context) error {
|
||||
} else {
|
||||
s.logger.Debug(ctx, "is not a leader")
|
||||
}
|
||||
time.Sleep(1 * time.Second)
|
||||
|
||||
rqliteClient := httpclix.Default(httpcli.WithMiddlewares(middlewares.SqlOperationMiddleware()))
|
||||
rqliteClient := httpclix.Default(httpcli.WithMiddlewares(middlewares.SqlOperationMiddleware(), httpclix.Log(s.logger)))
|
||||
rqliteClient.GlobalRequestConfig().BaseUrl = s.rqlite.LocalHttpAddr()
|
||||
rqliteClient.GlobalRequestConfig().BasicAuth = s.rqlite.InternalClientCredential()
|
||||
db, err := db.Open(
|
||||
|
||||
Reference in new issue
Block a user