frytimo
69bd42af05
remove unneeded destruct methods as GC has higher performance ( #6631 )
...
Co-authored-by: Tim Fry <tim@voipstratus.com>
2023-04-27 20:18:53 -06:00
FusionPBX
c9a661de6f
Optional to send syslog message for the cache delete and flush
2022-09-10 11:40:59 -06:00
FusionPBX
6780949019
Remove LOG_LOCAL0 from openlog it caused the output to the console.
2022-07-08 14:46:21 -06:00
FusionPBX
767937260d
Limit this to run only with the web server.
2022-07-08 14:21:29 -06:00
FusionPBX
1199269347
When the cache is deleted log details to the syslog server.
2022-06-01 22:28:12 -06:00
FusionPBX
356b50531b
Fix the class cache set method.
2021-10-26 00:30:30 -06:00
FusionPBX
f9f730024c
Create the $fp handle
2021-10-14 00:41:56 -06:00
FusionPBX
08c1fdc1d9
Update cache.php
...
A few minor changes.
2021-09-03 22:35:33 -06:00
Greenbea
6770d15b3c
Fix cache delete for global dialplans
2020-11-05 11:29:41 -05:00
Nate
d157b5ee9f
SIP Status: List view updates.
2019-12-04 13:49:02 -07:00
FusionPBX
4ec796c9f3
Update cache.php
2019-11-18 18:01:10 -07:00
FusionPBX
92b776ac1d
Update cache.php
2019-10-15 13:54:55 -06:00
FusionPBX
6202f6ab79
Update cache.php
2019-07-30 00:11:50 -06:00
FusionPBX
9adf103166
Update cache.php
2018-08-10 17:41:02 -06:00
FusionPBX
a34947fa85
Update cache.php
2018-07-24 16:55:56 -05:00
konradSC
b969629f58
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
1bb950dde8
Update cache.php
2017-09-02 09:56:30 -06:00
FusionPBX
84191e4090
Update cache.php
2017-07-22 15:52:45 -06:00
FusionPBX
09f1ea706e
Update cache.php
2017-07-22 13:18:03 -06:00
DigiDaz
57d2d955f3
Fixed scripts to get multiserver memcache working ( #1795 )
2016-08-04 11:40:36 -06:00
Harry G. Coin
bda6861f88
\r\n --> \n
...
Cause all the .php files containing lines ending with \r\n to instead end with \n.
DYI with:
find fusionpbx -type f -name '*.php' -exec dos2unix '{}' \;
2016-04-25 20:30:23 -05:00
mafoo
1726744f4e
WhitespaceClean-resources/classes
...
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 12:08:26 +00:00
Alexey Melnichuk
8ac7d708d3
Change. Reuse same esl connection to send cache event and command.
...
Fix. Implicitly close esl connection after do cache command.
2015-12-24 13:19:53 +03:00
Mark Crane
4c2225828b
Use memcache flush in the new PHP class.
2015-01-16 08:25:54 +00:00
Mark Crane
a70aebcef8
Remove an extra space in the event.
2015-01-16 04:16:56 +00:00
Mark Crane
97f4d3a9c3
Send a custom memcache event to FreeSWITCH.
2015-01-16 03:52:32 +00:00
Mark Crane
495f4a0226
Fix the string quotations and return on the method.
2015-01-15 19:33:27 +00:00
Mark Crane
59822e6091
Change the methods from private to public.
2015-01-15 19:24:54 +00:00
Mark Crane
8349b992a5
Add a missing bracket.
2015-01-15 19:22:39 +00:00
Mark Crane
83b24148df
Get rid of this variable since its not being used.
2015-01-15 18:34:02 +00:00
Mark Crane
80ddf8abd9
Correct the methods in the class description.
2015-01-15 18:19:54 +00:00
Mark Crane
7e0e678578
Add the first version of the cache class.
2015-01-15 18:15:25 +00:00