Skip to content

Commit

Permalink
remove external changes detection margin timer again
Browse files Browse the repository at this point in the history
idk
  • Loading branch information
phil294 committed May 21, 2023
1 parent 1940cfa commit c4647b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/git.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ module.exports.get_git = (log, { on_repo_external_state_change, on_repo_names_ch
# before the margin elapsed.
# Note that `last_git_execution` would usually refer to a `git log` action because any
# git action in the web view results in a refresh / log being sent afterwards.
margin = 4500
margin = 1500
return if Date.now() - last_git_execution < margin
# We have to observe all repos even if they aren't the selected one because
# there is no apparent way to unsubscribe from repo state changes. So filter:
Expand Down

0 comments on commit c4647b4

Please sign in to comment.