vxi-discuss



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

caching



What about caching?
In testVXI we have:
        XIObjectSetProperty(args,"osUserAgent",VXIStringCreate("VXI 0.5"));
        XIObjectSetProperty(args,"osCacheRoot",VXIStringCreate("temp"));
        XIObjectSetProperty(args,"osCacheSize",VXIIntegerCreate(10));

if i run "testvxi.exe election_sample.vxml -maxCalls 30 -numChannels 10 ", i can see that openVXI create some cache files: tempthreadxxx_yyyyyyyyyyyy.osw

But these files are created in the main directory of testVXI project and their lifetime are very short ( << 1 second)

1) Why they are not writed in testvxi\temp
2) Why the lifetime is not longer, even if i had in testmain
        VXIObjectSetProperty(args,"osCacheCleanUpFreq",VXIIntegerCreate(60));
        
VXIObjectSetProperty(args,"osCacheExpirationDateSpan",VXIIntegerCreate( 120));
        
VXIObjectSetProperty(args,"osCacheLastAccessedDateSpan",VXIIntegerCreate(30));

Jean-Michel Reghem



This page is maintained by Alan W Black (awb@cs.cmu.edu)
speechinfo.org is hosted on a machine donated by VA Linux Systems
VA Linux Systems