"GitLink - Opening File" task takes over a minute to complete
Closed this issue · 3 comments
Describe the bug
Used with GitHub Enterprise, copying a link to the current file takes over a minute to complete.
To Reproduce
Steps to reproduce the behavior:
- Go to 'View'
- Click on 'Copy GitHub Link'
- Wait about a minute for the "GitLink - Opening File" background task to complete to paste the URL elsewhere
Expected behavior
The task should take a few seconds at most.
Desktop (please complete the following information):
- OS: macOS Monterey 12.0.1
- IDE: RubyMine
- GitLink version: 3.3.6
What happens if you uncheck the Check commit exists on remote
option in the plugin settings Preferences -> GitLink
. Does it improve the performance?
@ben-gibson i found unchecking that made performance incredibly fast. The only downside is im constantly giving bad links to folks until I push my branch
What happens if you uncheck the
Check commit exists on remote
option in the plugin settingsPreferences -> GitLink
. Does it improve the performance?
Yep, that makes the task complete almost instantly. I'm ok with that tradeoff, thanks!