headzoo / surf

Stateful programmatic web browsing in Go.
MIT License
1.48k stars 159 forks source link

Change the default history size from unlimited to 100 pages #80

Open jtwatson opened 6 years ago

jtwatson commented 6 years ago

This should provide a reasonable balance between resource consumption and preventing a BC break.

Closes #68

MikhailKlemin commented 5 years ago

Nice! Not enough for me, I made SetMax to 5 (from your initial post of the problem), since I have 1000 instances of Browser getting new page every ~minute, and I was sure there some setting I missing, not like it leaking.