feat: implement RAG chatbot service, background cron worker, and asynchronous indexing infrastructure
All checks were successful
Build and Release / release (push) Successful in 1m30s

This commit is contained in:
2026-05-07 11:38:18 +07:00
parent 76bb1735bb
commit a4fed88b8a
7 changed files with 0 additions and 13 deletions

View File

@@ -35,7 +35,6 @@ func runBackup(ctx context.Context, s3 storage.Storage, dbURI string) {
fileName := fmt.Sprintf("db_backup_%s.sql", time.Now().Format("2006-01-02_15-04-05"))
filePath := filepath.Join(tmpDir, fileName)
// Run pg_dump
cmd := exec.Command("pg_dump", dbURI, "-F", "c", "-f", filePath)
if err := cmd.Run(); err != nil {
log.Error().Err(err).Msg("Failed to execute pg_dump. Make sure pg_dump is installed.")