code: def update_file(self, fullpath):
          
          if SCHEDULED_FILES.add(fullpath):
              logger.debug("Scheduling reindex of %s", fullpath)
              relpath = os.path.relpath(fullpath, self.content_dir)
              THREAD_POOL.submit(scan_file, fullpath, relpath, False)
docs: Update a file