diff --git a/lib/TgMagicPdf/Telegram.pm b/lib/TgMagicPdf/Telegram.pm index 436214f..206de32 100644 --- a/lib/TgMagicPdf/Telegram.pm +++ b/lib/TgMagicPdf/Telegram.pm @@ -25,7 +25,8 @@ has _ua => ( is => 'lazy', ); has _last_offset_update => ( is => 'rw', ); has _used_cores => ( is => 'rw', default => sub { 0 } ); -has _cores => ( is => 'rw', default => sub { `nproc` * 7 / 4 } ); +# We try 10 request at once in the crappy hardware. +has _cores => ( is => 'rw', default => sub { 10 } ); has _updates => ( is => 'rw' ); has _ioloop => ( is => 'rw' );