modified: .gitignore
modified: ai-worker/worker.py modified: server-app/main.go
This commit is contained in:
@@ -210,7 +210,7 @@ func main() {
|
||||
FROM articles
|
||||
WHERE image IS NOT NULL
|
||||
ORDER BY COALESCE(published_at, created_at) DESC
|
||||
LIMIT 100
|
||||
LIMIT 20
|
||||
`)
|
||||
if err != nil {
|
||||
return err
|
||||
@@ -226,7 +226,6 @@ func main() {
|
||||
w.WriteHeader(http.StatusOK)
|
||||
|
||||
// Kickstart: sofort 1 Byte senden, damit Streaming „anfängt“
|
||||
|
||||
|
||||
enc := json.NewEncoder(w)
|
||||
|
||||
@@ -238,7 +237,7 @@ func main() {
|
||||
|
||||
w.Write([]byte("\n"))
|
||||
flusher.Flush()
|
||||
|
||||
|
||||
for rows.Next() {
|
||||
var title, link, summary string
|
||||
var image *string
|
||||
|
||||
Reference in New Issue
Block a user