Skip to content

Validation field should not cache full issues list and persist longer than one week #3651

@nellh

Description

@nellh

What went wrong?

Querying the validation field is slow and can cause timeouts when querying many datasets at once. This cache currently contains the issues themselves and also counts of the issues. The counts are used in many places on OpenNeuro and should be cached indefinitely. Issues should be excluded from this cache.

Expected behavior

Querying issue counts in aggregate should not cause timeouts.

How to reproduce

No response

Desktop

  • OS:
  • Browser:
  • Version:

Phone

  • Device:
  • OS:
  • Browser:
  • Version:

Additional information

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions