Skip to content

Commit 59e523c

Browse files
author
ginnerpeace
committed
Update README.md
1 parent a7bd50f commit 59e523c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,8 @@ RedisLock::unlock($payload);
112112
RedisLock::verify($payload);
113113

114114
// Delay a lock if it still effective.
115-
RedisLock::delay($payload);
115+
// The 'expire' param is same to use RedisLock::lock()
116+
RedisLock::delay($payload, 100000);
116117

117118
/////////////////////
118119
// Special usages: //

0 commit comments

Comments
 (0)