Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing seconds_taken from /resource-info response #90

Open
arildm opened this issue Jan 23, 2024 · 0 comments
Open

Missing seconds_taken from /resource-info response #90

arildm opened this issue Jan 23, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@arildm
Copy link
Member

arildm commented Jan 23, 2024

In the /check-status response there was a seconds_taken property. Now there's a latest_seconds_taken, but it's always 0.

Here's part of the response currently for /resource-info?corpus_id=mink-gkndqekyqy:

  "job": {
    "status": {
      "sync2sparv": "none",
      "sync2storage": "none",
      "sparv": "done",
      "korp": "done",
      "strix": "done"
    },
    "current_process": "sparv",
    "pid": null,
    "started": "2024-01-23T13:37:23+01:00",
    "done": null,
    "sparv_exports": [
      "xml_export:pretty",
      "csv_export:csv",
      "stats_export:sbx_freq_list"
    ],
    "current_files": [],
    "install_scrambled": false,
    "installed_korp": true,
    "installed_strix": true,
    "latest_seconds_taken": 0,
    "priority": "",
    "warnings": "",
    "errors": "",
    "sparv_output": "Nothing to be done.",
    "last_run_started": "2024-01-23T13:37:23+01:00",
    "last_run_ended": "",
    "progress": "100%"
  },
@arildm arildm added the bug Something isn't working label Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant