wupengfei hace 2 años
padre
commit
2dff5e2416

+ 2 - 1
.idea/workspace.xml

@@ -3,6 +3,7 @@
   <component name="ChangeListManager">
     <list default="true" id="1a36929e-c054-4875-a943-593a74e55fa4" name="Default Changelist" comment="">
       <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/application/common/service/Elastic.php" beforeDir="false" afterPath="$PROJECT_DIR$/application/common/service/Elastic.php" afterDir="false" />
       <change beforePath="$PROJECT_DIR$/vendor/elastic/transport/src/NodePool/SimpleNodePool.php" beforeDir="false" afterPath="$PROJECT_DIR$/vendor/elastic/transport/src/NodePool/SimpleNodePool.php" afterDir="false" />
     </list>
     <option name="SHOW_DIALOG" value="false" />
@@ -261,7 +262,7 @@
       <workItem from="1678410737283" duration="21226000" />
       <workItem from="1678495559564" duration="25187000" />
       <workItem from="1678668116151" duration="24851000" />
-      <workItem from="1678754950693" duration="10567000" />
+      <workItem from="1678754950693" duration="10630000" />
     </task>
     <servers />
   </component>

+ 1 - 0
application/common/service/Elastic.php

@@ -17,6 +17,7 @@ require_once '../vendor/elastic/transport/src/NodePool/Resurrect/NoResurrect.php
 require_once '../vendor/elasticsearch/elasticsearch/src/ClientBuilder.php';
 require_once '../vendor/elastic/transport/src/TransportBuilder.php';
 require_once '../vendor/elastic/transport/src/NodePool/SimpleNodePool.php';
+require_once '../vendor/elastic/transport/src/Exception/NoNodeAvailableException.php';
 require_once '../vendor/elastic/transport/src/NodePool/Node.php';
 require_once '../vendor/elastic/transport/src/Transport.php';
 require_once '../vendor/php-http/httplug/src/HttpAsyncClient.php';

+ 1 - 1
vendor/elastic/transport/src/NodePool/SimpleNodePool.php

@@ -21,7 +21,7 @@ use Elastic\Transport\Exception\NoNodeAvailableException;
 use function count;
 use function shuffle;
 use function sprintf;
-require_once '../vendor/php-http/discovery/src/Exception/NoNodeAvailableException.php';
+
 class SimpleNodePool implements NodePoolInterface
 {
     /**