bot: decrease polling timeout
This commit is contained in:
parent
2e9694689f
commit
386c3991cd
2 changed files with 2 additions and 5 deletions
|
@ -45,9 +45,9 @@ func Start() {
|
|||
err = updater.StartPolling(b, &ext.PollingOpts{
|
||||
DropPendingUpdates: true,
|
||||
GetUpdatesOpts: &gotgbot.GetUpdatesOpts{
|
||||
Timeout: 9 * 60,
|
||||
Timeout: 9,
|
||||
RequestOpts: &gotgbot.RequestOpts{
|
||||
Timeout: time.Minute * 10,
|
||||
Timeout: time.Second * 10,
|
||||
},
|
||||
AllowedUpdates: AllowedUpdates,
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue