Dirk-Lüder Kreie schrieb:
Ævar Arnfjörð Bjarmason schrieb:
Shouldn't this in upload.pl:

65: ## FIXME: this is one of the things that make upload.pl not
multithread safe
66: my $ZipDir = $Config->get("WorkingDirectory") . "/uploadable";

Be changed to use UploadTargetDirectory? I was setting up a
configuration pretty much equivalent to the one described here[1] and
had to symlink my upload process's WorkingDirectory/upload to the
global UploadTargetDirectory.


That's not how it should work.
each client running on the same machine needs it's own working directory for itself (we're slowly fixing all issues with that, so at some time in the future this will not be necessary anymore)

So if you want to use uploadToDirectory, that means you do have multiple clients running, each in their own working directory, pointing their UploadTargetDirectory to one additional client, which has that same directory set as its working directory, and uploading what ever gets pushed there to the server (preferrably by ./tilesGen.pl upload_loop)

To make it clear:
you shouldn't have to link your working_directory/upload of your uploader to the global UploadTargetDirectory, but instead you should put uploader_working_directory/upload as UploadTargetDirectory for all the other clients that use UploadToDirectory=1

--

Dirk-Lüder "Deelkar" Kreie
Bremen - 53.0952°N 8.8652°E

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Tilesathome mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/tilesathome

Reply via email to