google / zoekt

Fast trigram based code search

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

provide -index_cache flag in webserver

hanwen opened this issue · comments

the slowness on cold cache of cs.bazel.build since November is explained.

In November, I made a new VM image, with a Persistent Disk holding the repos and index shards, with syncing to a serving SSD. Unfortunately, the webserver flag still pointed to the old location, which was the Persistent Disk, and so it has been serving from networked storage all this time.

To avoid having to setup a sync cronjob correctly, move the cronjob sync-to-SSD functionality into the webserver.