async function updateWatchlist (profileId, site) {
  var updatedAt = (Date.now() / 1000 | 0)

  var release = await lock('watchlist-db')
  try {
    await db.run(`UPDATE watchlist SET seedWhenResolved = ?, resolved = ?, updatedAt = ?
    WHERE profileId = ? AND url = ?`, [site.seedWhenResolved, site.resolved, updatedAt, profileId, site.url])
  } finally {
    release()
  }
}
@param {number} profileId
@param {WatchedSite} site
@returns {Promise<void>}