OpenFn / OpenFn/lightning

Enable caching

Open
#643 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Elixir
Stars
296
Forks
86
Avg merge
1d 13h
Merged PRs (30d)
50

Description

User story

As someone that is running an instance of Lightning, I would like to enable caching by default, so that the jobs panel is not slow on the first open after restart .

See this issue for context.

Later, we'll implement functionality to refresh the cache on start up.

Release notes
  • Enable caching through [insert name] environment variable to
User acceptance criteria
  • by default, caching is not enabled (the env. variable is set to 'disabled' in the example env <- @stuartc please confirm i understood this correctly
  • when the env. variable is changed to enabled, caching is enabled
  • documentation has been added -> @stuartc to the readme ?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read the linked context issue first, then locate the example environment file and README mentioned in the acceptance criteria. Identify where the caching setting is configured and how the jobs panel uses it. Done means the documented environment variable controls caching as specified and the related documentation is updated.

Written by the indexing model from the issue text.

Assessment

Tech stack
elixir
Domain
backend, documentation
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.