Closed Sanix-Darker closed 1 year ago
Thanks for the report and offering your help. The timeout is indeed hardcoded here. You can add a new config option in the config file and then use it from file-entry.lua
. eg:
local config = require "octo.config"
local conf = config.get_config()
-- use the config option
-- eg: `conf.timeout`
Dont forget to document the option in the README and assign it 5000 as the default
Thanks!
Issue Description
Type: bug report
Describe what happened (or what feature you want)
When am trying to create a new Pull Request, and because I have to provide a key-pass-phrase, am getting this error while trying to push :
I guess, it's because the timeout is too short ?
Describe what you expected to happen
Maybe a big timeout ? Or a way to increase that timing in configuration ? 🤔
How to reproduce it (as minimally and precisely as possible)
Tell us your environment
Am on ubuntu, with nvim nightly :
and the last version of octo.nvim
Anything else we need to know?
I really like this project, and if possible I will want to contribute to this bug/fixmelio... ? with some suggestions 😬