From 1cd26bdb4a540b0f9927c2fe3f4753e43c3d1c61 Mon Sep 17 00:00:00 2001 From: Jen Wachter Date: Wed, 1 Jun 2022 12:07:01 -0400 Subject: [PATCH] Added beforeUpload hook --- src/AkamaiRsync.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/AkamaiRsync.php b/src/AkamaiRsync.php index 448a6ed..207b466 100644 --- a/src/AkamaiRsync.php +++ b/src/AkamaiRsync.php @@ -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}");