Commit Graph

7 Commits

Author SHA1 Message Date
konradSC 1408cc2029 Update file_cache.lua (#3483)
A little space please!
2018-09-18 13:06:44 -06:00
konradSC 00966a4735 Update file_cache.lua (#3402)
Run OS command through Freeswitch for better performance. Running OS commands directly from lua can cause RTP timing issues.
2018-09-06 17:45:33 -06:00
konradSC 6d1896052d Update to use curl instead of ssh (#2856)
SSH method never worked. I submitted the wrong file.
2017-09-27 22:01:58 -06:00
konradSC 73bea2f815 File cache sync via curl (#2851)
* Add sendevent when using file caching

* Create clear_cache.lua

FS receives a command via curl to call this script which deletes the single cache entry or flushes the entire cache.

* Create file_cache.lua

This scripts monitors for custom events. When an event is processed it will send out a command via curl to other FS servers telling them to clear their cache. 

This must be called from conf/autoload_configs/lua.conf.xml
 <param name="startup-script" value="app/server/resources/memcache.lua"/>
2017-09-20 16:19:56 -06:00
FusionPBX fa0ac3f46b Update memcache.lua 2016-09-08 18:00:23 -06:00
FusionPBX 84984edbdd Update memcache.lua
Add server method, consumer CUSTOM event instead of MEMCACHE.
2016-09-08 17:23:01 -06:00
FusionPBX 0f7f2cdc83 Create memcache.lua 2016-09-08 16:10:40 -06:00