Git Product home page Git Product logo

Comments (3)

javeme avatar javeme commented on May 16, 2024

1.restapi 有没有返回超时时长的设置

有的,可以使用HugeClient(String url, String graph, int timeout)或者HugeClient(String url, String graph, String username, String password, int timeout)

2.restapi访问时产生的日志记录在哪

java client没有记录访问日志,如果确实有需要记录日志可调用client各方法前打印日志。server端有打debug级别的访问日志,若需要请修改log4j配置文件conf/log4j2.xml中的level配置项。

from incubator-hugegraph.

fisherinbox avatar fisherinbox commented on May 16, 2024

1.restapi 有没有返回超时时长的设置

有的,可以使用HugeClient(String url, String graph, int timeout)或者HugeClient(String url, String graph, String username, String password, int timeout)

2.restapi访问时产生的日志记录在哪

java client没有记录访问日志,如果确实有需要记录日志可调用client各方法前打印日志。server端有打debug级别的访问日志,若需要请修改log4j配置文件conf/log4j2.xml中的level配置项。

感谢,那如何查询当前的超时时间呢,除了hugeclient方式有没有修改配置文件的方式.这里说的超时是不是
与下文的timeout=60000ms 是一个东西
{"exception":"class java.io.UncheckedIOException","message":"java.io.IOException: Failed to get result within timeout, timeout=60000ms","cause":"java.io.IOException: Failed to get result within timeout, timeout=60000ms"}

from incubator-hugegraph.

github-actions avatar github-actions commented on May 16, 2024

Due to the lack of activity, the current issue is marked as stale and will be closed after 20 days, any update will remove the stale label

from incubator-hugegraph.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.