Closed ncaq closed 3 years ago
3つ実行するなら長めでも良いかと思いましたが、 コンテンツ側で全て送り込んで制御しないので、 複数検索すると前の検索結果の取得を待たないと、 次の検索の結果のタイトルを取得できません。 よってタイムアウトを30秒から15秒に縮めます。
本当は見えているページのタイトル取得を優先するようにキューを作るべきなのかもしれません。 ページごとにツリーを変える幅優先的なアルゴリズムでうまくいく気がします。
3つ実行するなら長めでも良いかと思いましたが、 コンテンツ側で全て送り込んで制御しないので、 複数検索すると前の検索結果の取得を待たないと、 次の検索の結果のタイトルを取得できません。 よってタイムアウトを30秒から15秒に縮めます。
本当は見えているページのタイトル取得を優先するようにキューを作るべきなのかもしれません。 ページごとにツリーを変える幅優先的なアルゴリズムでうまくいく気がします。