1
0
mirror of https://github.com/rancher/steve.git synced 2025-09-24 21:08:03 +00:00

Cleanup schema change reporting

This commit is contained in:
Darren Shepherd
2021-08-09 16:47:09 -07:00
parent bb76e4db56
commit 9f5d802708
3 changed files with 23 additions and 4 deletions

View File

@@ -29,7 +29,7 @@ func (w *WatchRefresh) Watch(apiOp *types.APIRequest, schema *types.APISchema, w
select {
case <-ctx.Done():
return
case <-time.After(30 * time.Second):
case <-time.After(2 * time.Second):
}
newAs := w.asl.AccessFor(user)