Adding cores => 10.

This commit is contained in:
Sergiotarxz 2024-05-24 08:51:06 +02:00
parent d3ef56467a
commit a7739727b6
1 changed files with 2 additions and 1 deletions

View File

@ -25,7 +25,8 @@ has _ua => ( is => 'lazy', );
has _last_offset_update => ( is => 'rw', ); has _last_offset_update => ( is => 'rw', );
has _used_cores => ( is => 'rw', default => sub { 0 } ); 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 _updates => ( is => 'rw' );
has _ioloop => ( is => 'rw' ); has _ioloop => ( is => 'rw' );