[pmwiki-users] pagelists link= with pages generated externally

Christophe David pmwiki at christophedavid.org
Sat May 26 16:08:36 CDT 2007


> This already exists in import.php, as $ImportFilePattern (no 's').

I am using the new import feature extensively now, and it works great.

However, when you have **many** files to import (as when you have one
page per record in an "emulated database", your often reach the server
timeout when importing.

May I suggest to add one more configuration variable to specify a
maximum script running time or a maximum number of files to import in
one run ?

This way, the first request could import a first batch of files
without reaching the timeout, then a subsequent request would import
the next batch and so on.

(In fact, this is already the case, but if the server times out, it
often triggers alarms or goes in some kind of "safe" mode, which is
annoying).

Thank you in anticipation for considering this option.

Christophe



More information about the pmwiki-users mailing list