Skip to content

Commit

Permalink
Added beforeUpload hook
Browse files Browse the repository at this point in the history
  • Loading branch information
jenwachter committed Jun 1, 2022
1 parent 55d8565 commit 1cd26bd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/AkamaiRsync.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ public function upload(\GearmanJob $job)
$handle = $job->handle();
$workload = json_decode($job->workload());

$this->hook('beforeUpload', $handle, $workload);

// auth
putenv("RSYNC_PASSWORD={$this->password}");

Expand Down

0 comments on commit 1cd26bd

Please sign in to comment.