Commit ee9d4eec authored by Leo Gordon's avatar Leo Gordon
Browse files

Merge pull request #3 from jherrero/version/1.9

bugfix: when using more than one standalone worker make sure their /tmp directories do not clash
parents 6eb4e142 eb3fbb00
......@@ -548,7 +548,7 @@ sub worker_temp_directory_name {
my $self = shift @_;
my $username = $ENV{'USER'};
my $worker_id = $self->worker ? $self->worker->dbID : 'standalone';
my $worker_id = $self->worker ? $self->worker->dbID : "standalone.$$";
return "/tmp/worker_${username}.${worker_id}/";
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment