mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-26 23:20:11 +01:00
added memcached support to pilerimport
This commit is contained in:
parent
95e76fc83d
commit
a80dafafb6
@ -542,6 +542,10 @@ int main(int argc, char **argv){
|
|||||||
|
|
||||||
(void) openlog("pilerimport", LOG_PID, LOG_MAIL);
|
(void) openlog("pilerimport", LOG_PID, LOG_MAIL);
|
||||||
|
|
||||||
|
#ifdef HAVE_MEMCACHED
|
||||||
|
memcached_init(&(data.memc), cfg.memcached_servers, 11211);
|
||||||
|
#endif
|
||||||
|
|
||||||
if(folder){
|
if(folder){
|
||||||
data.folder = get_folder_id(&sdata, &data, folder, 0);
|
data.folder = get_folder_id(&sdata, &data, folder, 0);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user