Skip to content

Commit

Permalink
Issue #14: on further review the code was not retrying ... one chance…
Browse files Browse the repository at this point in the history
… only and we're hung and fail after timeout
  • Loading branch information
dalehenrich committed Mar 23, 2015
1 parent d3dc6a4 commit 630376f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Binary file added monticello/GsUpgrader-Core-dkh.48.mcz
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ patchForGsDevKitIssue60Source1
response position < buf size & (self isActive | self readyForRead)
& ((tries := tries - 1) >= 0) ]
whileTrue: [
(self waitForReadDataUpToMs: 20000)
((self waitForReadDataUpToMs: 2000) and: [tries < 0])
ifFalse: [ self error: ''data was late'' ].
bytesRead := self readInto: buf startingAt: 1 for: buf size.
response nextPutAll: (buf copyFrom: 1 to: bytesRead) ].
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ patchForGsDevKitIssue60Source2
response position < buf size & (self isActive | self readyForRead)
& ((tries := tries - 1) >= 0) ]
whileTrue: [
(self waitForReadDataUpToMs: 20000)
((self waitForReadDataUpToMs: 2000) and: [tries < 0])
ifFalse: [ self error: ''data was late'' ].
bytesRead _ self readInto: buf startingAt: 1 for: buf size.
response nextPutAll: (buf copyFrom: 1 to: bytesRead) ].
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
"notify:" : "dkh 09/05/2014 16:56",
"packageReportOn:" : "dkh 09/15/2014 13:48",
"patchForGsDevKitIssue60" : "dkh 03/23/2015 10:59",
"patchForGsDevKitIssue60Source1" : "dkh 03/23/2015 13:23",
"patchForGsDevKitIssue60Source2" : "dkh 03/23/2015 13:19",
"patchForGsDevKitIssue60Source1" : "dkh 03/23/2015 13:29",
"patchForGsDevKitIssue60Source2" : "dkh 03/23/2015 13:30",
"projectReportOn:" : "dkh 09/11/2014 16:38",
"projectVersion:" : "dkh 09/15/2014 13:13",
"registrationFor:" : "dkh 11/16/2014 20:06",
Expand Down

0 comments on commit 630376f

Please sign in to comment.