Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
34e80752
Commit
34e80752
authored
Oct 23, 2009
by
Robert Griesemer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix computation of sync delay
R=rsc
http://go/go-review/1013011
parent
fd5fa4b3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
godoc.go
src/cmd/godoc/godoc.go
+3
-3
No files found.
src/cmd/godoc/godoc.go
View file @
34e80752
...
@@ -767,11 +767,11 @@ func main() {
...
@@ -767,11 +767,11 @@ func main() {
go
func
()
{
go
func
()
{
for
{
for
{
dosync
(
nil
,
nil
);
dosync
(
nil
,
nil
);
_
,
delay
:=
syncDelay
.
get
();
delay
,
_
:=
syncDelay
.
get
();
if
*
verbose
{
if
*
verbose
{
log
.
Stderrf
(
"next sync in %dmin"
,
delay
);
log
.
Stderrf
(
"next sync in %dmin"
,
delay
.
(
int
)
);
}
}
time
.
Sleep
(
int64
(
delay
)
*
60e9
);
time
.
Sleep
(
int64
(
delay
.
(
int
)
)
*
60e9
);
}
}
}();
}();
}
}
...
...
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