Исправить замечания ревью кода: убрать повтор в AppendOnce за счёт запаса у чистки ключей, вынести MessagePayload и SameContent, принять X-Request-Id от балансировщика, упростить фоновые задачи сервера, сократить комментарии
This commit is contained in:
@@ -190,8 +190,6 @@ func TestClassifyMarksUnreachableDatabaseAsUnavailable(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
// The pool size is an experiment variable of the scaling study, so it is
|
||||
// passed in rather than fixed.
|
||||
func TestNewPoolUsesTheRequestedSize(t *testing.T) {
|
||||
pool, err := postgres.NewPool(context.Background(), db.DSN, 3)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user