Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
2d023ab0
Commit
2d023ab0
authored
Jun 19, 2017
by
Kubernetes Submit Queue
Committed by
GitHub
Jun 19, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #46855 from wojtek-t/log_broken_watches
Automatic merge from submit-queue Add logging to debug conflicts in kubemark-scale test Ref #46851
parents
fcd0938e
1504c7fc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
cacher.go
staging/src/k8s.io/apiserver/pkg/storage/cacher.go
+5
-0
time_budget.go
staging/src/k8s.io/apiserver/pkg/storage/time_budget.go
+1
-1
No files found.
staging/src/k8s.io/apiserver/pkg/storage/cacher.go
View file @
2d023ab0
...
...
@@ -639,6 +639,11 @@ func forgetWatcher(c *Cacher, index int, triggerValue string, triggerSupported b
if
lock
{
c
.
Lock
()
defer
c
.
Unlock
()
}
else
{
// false is currently passed only if we are forcing watcher to close due
// to its unresponsiveness and blocking other watchers.
// TODO: Get this information in cleaner way.
glog
.
V
(
1
)
.
Infof
(
"Forcing watcher close due to unresponsiveness: %v"
,
c
.
objectType
.
String
())
}
// It's possible that the watcher is already not in the structure (e.g. in case of
// simulaneous Stop() and terminateAllWatchers(), but it doesn't break anything.
...
...
staging/src/k8s.io/apiserver/pkg/storage/time_budget.go
View file @
2d023ab0
...
...
@@ -23,7 +23,7 @@ import (
const
(
refreshPerSecond
=
50
*
time
.
Millisecond
maxBudget
=
25
0
*
time
.
Millisecond
maxBudget
=
10
0
*
time
.
Millisecond
)
// timeBudget implements a budget of time that you can use and is
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment