From ed43300dab14e50d2925dc78a9eb5fc5f2e9ae98 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 25 Aug 2021 09:58:58 +0200 Subject: 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 --- 3.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 3.patch (limited to '3.patch') 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 +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(); -- cgit