Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Batch size keeps growing #46

Open
alranel opened this issue Feb 6, 2019 · 1 comment
Open

Batch size keeps growing #46

alranel opened this issue Feb 6, 2019 · 1 comment

Comments

@alranel
Copy link
Contributor

alranel commented Feb 6, 2019

I had bundle exec jekyll serve running for a few hours, and I noticed the following output in console:

Increased batch to 94777449436701609667188297781665503819030517220054107171082413431520640121778638383647367110547101173319817390034308454741829257133119992736870009797795596146331645789887004672
Increased batch to 200593728672035931732768693399865394589774672587325838890939151914483838602731795427929701601580512710605213727191985246954165249313228158379774992635263303952590755845660674621440
Increased batch to 18368504659304856136350155220078100239893869168967793447586326566762192167108094577698989302780888185491791238388332456749221831046657710308578700526160122250397424242244190208
Increased batch to 277271443668342844774702843187183923013839381558598037623706775909080314800410578046290760507714583250559156411054944938133818412179429338058541858072772201074249307795750912
Increased batch to 9873695207846506853946225222129548294174173481472380761094969262719211345924829493206651477802892616369342958461547297909307914910857517697703872790440830012951016964156723804556492

I think the timestamp in indexer.rb needs to be renewed :)

@dtpxl
Copy link

dtpxl commented Sep 2, 2020

This eventually causes an overflow / can't cast infinity to integer error:

Increased batch to 161951851244304127220492665392021151643395223960970715060499392063564598483865213734633679843620936832250723691510992075496889882765335934201714846501461773338290481711989807971269854631862267108269591519142212617880376029723244992598863390259031817638576350385567730798870379384224813833703935747396514873344
#<Thread:0x00007f96b5c3cc08 /Users/username/gems/gems/searchyll-0.10.2/lib/searchyll/indexer.rb:44 run> terminated with exception (report_on_exception is true):
Traceback (most recent call last):
	7: from /Users/username/gems/gems/searchyll-0.10.2/lib/searchyll/indexer.rb:45:in `block in start'
	6: from /Users/username/gems/gems/searchyll-0.10.2/lib/searchyll/indexer.rb:109:in `http_start'
	5: from /Users/username/gems/gems/searchyll-0.10.2/lib/searchyll/indexer.rb:46:in `block (2 levels) in start'
	4: from /Users/username/gems/gems/searchyll-0.10.2/lib/searchyll/indexer.rb:61:in `indexer_loop'
	3: from /Users/username/gems/gems/searchyll-0.10.2/lib/searchyll/indexer.rb:69:in `tempo_loop'
	2: from /Users/username/gems/gems/searchyll-0.10.2/lib/searchyll/indexer.rb:69:in `loop'
	1: from /Users/username/gems/gems/searchyll-0.10.2/lib/searchyll/indexer.rb:77:in `block in tempo_loop'
/Users/username/gems/gems/searchyll-0.10.2/lib/searchyll/indexer.rb:77:in `round': Infinity (FloatDomainError)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants