Skip to content
Snippets Groups Projects
Unverified Commit 0b460984 authored by Robert Speicher's avatar Robert Speicher
Browse files

Clear Direction cache via CLEAR_DIRECTION_CACHE

parent db43e50d
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -78,6 +78,11 @@ bundle exec rake pdfs
 
The above command builds the static files and PDFs into the folder `public`.
 
Due to the number of API requests necessary for generating the Direction page,
the results of those requests are cached for 36 hours. If you need the page to
be updated earlier than that, provide the `CLEAR_DIRECTION_CACHE` [environment
variable](https://docs.gitlab.com/ee/ci/pipelines.html#manually-executing-pipelines).
## Custom Generators
 
There are a few custom, static generators specified in `config.rb`. For
Loading
Loading
Loading
Loading
@@ -37,6 +37,8 @@ class GitLabInstance
end
 
@name = name
cache_store.clear if ENV.key?('CLEAR_DIRECTION_CACHE')
end
 
def get(path, params = {})
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment