[Tilesathome] Config question

Matthias Julius lists at julius-net.net
Thu Mar 12 17:47:28 GMT 2009


"Alan Millar" <am12 at bolis.com> writes:

>> a) How to set which config-items, so that upload starts when the first
>> (if more (tile, maplint, captionless) are requested) result is
>> available? (ForkForUpload is set to 1 and doesn't help)
>
> Fork for upload should do the upload in the background while the *next*
> tile is rendering, but as you found, it won't start it sooner.
>
> You may want to look at the TaH client config options for "upload
> directory".  You could have two separate copies of TaH client running. 
> One would download and render tiles and put them in the upload directory,
> and the other would take the tile files in the upload directory and upload
> them to the TaH server.  You might have to make your own little shell
> script to run "tilesGen.pl upload" in a loop for the uploader.  

No, you can run "tilesGen.pl upload_loop" and the client will
periodicly check for new files to upload.

> I haven't tried this recently myself, but I did it a year ago and it
> worked OK with the older client code.  The tile file might be put
> into the upload directory as soon as it is done rendering, allowing
> you to start uploading it sooner.

No, it won't.  The rendering client will upload the files to the
UploadDirectory after it is done rendering.

It might work to run the two clients with the same WorkingDirectory.
But I can not guarantee that there won't be any issues with that.
IIRC the client saves tilesets with temporary file names first and
renames them once they are done.  Therefore the uploader should not
try to upload half finished tilesets.  But someone should test this
before actually using.

Matthias




More information about the Tilesathome mailing list