summaryrefslogtreecommitdiffstats
path: root/3.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2021-08-25 09:58:58 +0200
committerRemi Collet <remi@remirepo.net>2021-08-25 09:58:58 +0200
commited43300dab14e50d2925dc78a9eb5fc5f2e9ae98 (patch)
tree24e77b1776a7f8afb9e46072b70e09799c1fddcf /3.patch
initial package, version 1.0.0 (stable)
open https://github.com/SeasX/SeasSnowflake/pull/3 - fix test open https://github.com/SeasX/SeasSnowflake/pull/4 - exec perm open https://github.com/SeasX/SeasSnowflake/pull/5 - PHP 5 open https://github.com/SeasX/SeasSnowflake/pull/6 - arginfo
Diffstat (limited to '3.patch')
-rw-r--r--3.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/3.patch b/3.patch
new file mode 100644
index 0000000..0179b31
--- /dev/null
+++ b/3.patch
@@ -0,0 +1,22 @@
+From 43315f54e2382a344092f5327b0b3c05bb830d36 Mon Sep 17 00:00:00 2001
+From: Remi Collet <remi@famillecollet.com>
+Date: Wed, 25 Aug 2021 08:49:08 +0200
+Subject: [PATCH] Fix test expectation
+
+---
+ tests/benchmark.phpt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tests/benchmark.phpt b/tests/benchmark.phpt
+index 20e9007..64b5fa3 100644
+--- a/tests/benchmark.phpt
++++ b/tests/benchmark.phpt
+@@ -7,7 +7,7 @@ SeasSnowflake testBenchmark
+ $config=['worker_id'=>10,'datacenter_id'=>1];
+ $client = new SeasSnowflake($config);
+
+-echo "\nmake 100000 id=================\n";
++//echo "\nmake 100000 id=================\n";
+ $start = microtime(true);
+ for($i=0;$i<100000;$i++){
+ $id= $client->generate();