Sha256: 208018596097d70a66c6b3a6662c2bb20bbec031c3386e3d9f794d5fcf17a890
Contents?: true
Size: 701 Bytes
Versions: 3
Compression:
Stored size: 701 Bytes
Contents
module Fulmar module Infrastructure module Service module Cache # Implements Neos cache handling class NeosCacheService # @param [Fulmar::Infrastructure::Service::ShellService] shell # @param [Hash] config def initialize(shell, config) @remote_shell = shell @config = config end def clear @remote_shell.run "FLOW_CONTEXT=\"#{@config[:neos][:environment]}\" ./flow flow:cache:flush --force" end def warmup @remote_shell.run "FLOW_CONTEXT=\"#{@config[:neos][:environment]}\" ./flow flow:cache:warmup" end end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems