mirror of
https://github.com/yagop/node-telegram-bot-api
synced 2025-08-28 21:07:39 +00:00
Fix request performance issue (PR #193)
This commit is contained in:
parent
75d940c473
commit
d4a5f5d16c
@ -177,6 +177,7 @@ class TelegramBot extends EventEmitter {
|
||||
options.url = this._buildURL(_path);
|
||||
options.simple = false;
|
||||
options.resolveWithFullResponse = true;
|
||||
options.forever = true;
|
||||
debug('HTTP request: %j', options);
|
||||
return request(options)
|
||||
.then(resp => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user