Skip to content

Sleep induced slowness in gogits #18

Closed
@tgulacsi

Description

@tgulacsi

For directories with lot of (few thousand) files, https://github.com/gogits/git-module/blob/master/tree_entry.go#L160 time.Sleep(200*time.Millisecond) adds up.

By commenting it out, a 20s page rendering goes down to 1.6s (I was searching for solution for gogs/gogs#1518)

Is that sleep required?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions