Skip to content

Specify a timeout for the fetch operation. #1253

@rovinbhandari

Description

@rovinbhandari

Hi

I'm using libgit2sharp to automatically update a local repository (~8GB in size) using "fetch". Fetch gets triggered every 20ish minutes; however, I see that intermittently, the fetch operation hangs indefinitely. I've seen fetch hang as much as 2 days sometimes.

  1. Is there a way to get some information about what is hanging under the hood, other than running it under debugger and hoping that it would hang?
  2. I couldn't find a way to specify a timeout for the fetch operation; is it possible? If not, does it qualify as a valid feature request?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions