Explorar el Código

Also reset the status_code on requeueing

master
JustAnotherArchivist hace 2 años
padre
commit
f914b6afbe
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      wpull2-requeue

+ 1
- 1
wpull2-requeue Ver fichero

@@ -37,5 +37,5 @@ elif [[ "${action}" == 'print' ]]
then
sqlite3 "${filename}" "SELECT queued_urls.*, url_strings.* ${query}"
else
sqlite3 "${filename}" 'UPDATE queued_urls SET status = "todo", try_count = 0 WHERE id IN (SELECT queued_urls.id '"${query}"')'
sqlite3 "${filename}" 'UPDATE queued_urls SET status = "todo", try_count = 0, status_code = NULL WHERE id IN (SELECT queued_urls.id '"${query}"')'
fi

Cargando…
Cancelar
Guardar