Commit graph

2 commits

Author SHA1 Message Date
Toha
f0cadf182e
Optimize mncvision.id grabber connection.
Currently while fetching guide for every channels, there will be one additional
connection used to set the language cookie. This optimization change this behaviour
by setting the language cookie once and then use those cookie for the rest of the
channels unless there's change in channel language.

Assume there are 10 channels and each channel only use one connection. Before the
optimization the connections made are 20 (1 for guide fetch, 1 for set language,
then multiplied by 10), and after the optimization the connections made are 11
(1 for set language, 1 for guide fetch multiplied by 10).

Signed-off-by: Toha <tohenk@yahoo.com>
2023-11-21 22:42:02 +07:00
Aleksandr Statciuk
8cc1a46276 Create __data__ 2022-10-05 16:58:23 +03:00