Skip to content

Commit

Permalink
increase default timeouts
Browse files Browse the repository at this point in the history
Signed-off-by: Jeromy Cannon <[email protected]>
  • Loading branch information
jeromy-cannon committed Sep 19, 2024
1 parent 966b436 commit ea2f4f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/k8.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ export class K8 {
* @param {number} [timeoutMs] - timeout, defaults to 5,500 ms
* @returns {Promise<boolean>} return a Promise that performs the copy operation
*/
async copyTo (podName, containerName, srcPath, destDir, filter = undefined, timeoutMs = 10_000) {
async copyTo (podName, containerName, srcPath, destDir, filter = undefined, timeoutMs = 30_000) {
const self = this
const namespace = this._getNamespace()
const guid = uuid4()
Expand Down Expand Up @@ -643,7 +643,7 @@ export class K8 {
* @param {number} [timeoutMs] - copyFrom timeout, defaults to 5,500 ms
* @returns {Promise<boolean>}
*/
async copyFrom (podName, containerName, srcPath, destDir, timeoutMs = 5_500) {
async copyFrom (podName, containerName, srcPath, destDir, timeoutMs = 30_000) {
const self = this
const namespace = self._getNamespace()
const guid = uuid4()
Expand Down

0 comments on commit ea2f4f2

Please sign in to comment.