Skip to content

Commit 11ea914

Browse files
committed
Merge pull request #81 from rwifeng/persistentPipeline
persistentPipeline in put policy
2 parents 3048719 + e863061 commit 11ea914

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

qiniu/rs.php

+4
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ class Qiniu_RS_PutPolicy
5454
public $FsizeLimit;
5555
public $SaveKey;
5656
public $PersistentOps;
57+
public $PersistentPipeline;
5758
public $PersistentNotifyUrl;
5859
public $FopTimeout;
5960
public $MimeLimit;
@@ -105,6 +106,9 @@ public function Token($mac) // => $token
105106
if (!empty($this->PersistentOps)) {
106107
$policy['persistentOps'] = $this->PersistentOps;
107108
}
109+
if (!empty($this->PersistentPipeline)) {
110+
$policy['persistentPipeline'] = $this->PersistentPipeline;
111+
}
108112
if (!empty($this->PersistentNotifyUrl)) {
109113
$policy['persistentNotifyUrl'] = $this->PersistentNotifyUrl;
110114
}

0 commit comments

Comments
 (0)