-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pivotal ID # 187456681: Submission request file status #827
Conversation
* Update the given request files. By default only file index is updated in submission request. For other options | ||
* @see UpdateOptions | ||
*/ | ||
suspend fun updateRqtFile( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this change will allow to change file status in future set of changes without chaning API
@@ -56,7 +56,7 @@ internal class DistributedLockExecutor( | |||
) | |||
|
|||
private companion object { | |||
val DEFAULT_EXPIRATION = Duration.ofMinutes(5) | |||
val DEFAULT_EXPIRATION = Duration.ofHours(3) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
extended lock time to avoid two submission being processed concurrently after lock expire (we need refresh lock feature)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
requestFile: SubmissionRequestFile, | ||
file: ExtFile, | ||
/** | ||
* Update the given request files. By default only file index is updated in submission request. For other options |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo: It should be file, singular. The docs imply several files could be passed to the function
https://www.pivotaltracker.com/story/show/187456681