Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cs425-mp4
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
zf4
cs425-mp4
Commits
0d82218c
Commit
0d82218c
authored
6 years ago
by
Xinyuv
Browse files
Options
Downloads
Patches
Plain Diff
rua
parent
055387a6
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/crane/crane_master.go
+1
-1
1 addition, 1 deletion
src/crane/crane_master.go
src/shared/shared.go
+1
-1
1 addition, 1 deletion
src/shared/shared.go
with
2 additions
and
2 deletions
src/crane/crane_master.go
+
1
−
1
View file @
0d82218c
...
...
@@ -374,7 +374,7 @@ func runSpout() {
fmt
.
Println
(
"New job started running..."
)
scanner
:=
bufio
.
NewScanner
(
file
)
for
scanner
.
Scan
()
{
time
.
Sleep
(
shared
.
CraneSpoutInterval
)
//
time.Sleep(shared.CraneSpoutInterval)
// activeListMux.Lock()
// fmt.Println(activeList)
// activeListMux.Unlock()
...
...
This diff is collapsed.
Click to expand it.
src/shared/shared.go
+
1
−
1
View file @
0d82218c
...
...
@@ -44,7 +44,7 @@ const NumFileReplicas = 4
// How long to wait to get the membership list from the introducer
const
IntroducerTimeout
=
3
*
time
.
Second
const
GrepTimeout
=
5
*
time
.
Second
const
ACKTimeout
=
6
000
*
time
.
Millisecond
const
ACKTimeout
=
4
000
*
time
.
Millisecond
const
PingInterval
=
6000
*
time
.
Millisecond
// Simulate false positives by dropping packets before they are sent out
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment