Code Monkey home page Code Monkey logo

Comments (12)

wangtubs avatar wangtubs commented on June 6, 2024

node 版本v6.2.0

from torsniff.

wangtubs avatar wangtubs commented on June 6, 2024

我换成0.12.14版本基本就没这个问题了。好像跟nodejs版本有关

from torsniff.

fanpei91 avatar fanpei91 commented on June 6, 2024

我反正是弃坑了, 不玩Node.js了, 太扯蛋了, 乱七八糟的.

from torsniff.

iugo avatar iugo commented on June 6, 2024

也可能是依赖包的问题, 之前许多项目都只建议使用 npm 2. nvm 用起来.

@Fuck-You-GFW 这项目没开多久你就弃了啊...

from torsniff.

fanpei91 avatar fanpei91 commented on June 6, 2024

@iugo 我是弃 Node.js 这个坑了, 写代码太特么痛苦了, 不论是变种还是什么其他模式, 都不行, 我是对 JavaScript 本身不满意. 我现在是要打算用 Java 来写 p2pspider 了.

from torsniff.

wangtubs avatar wangtubs commented on June 6, 2024

用了你的修改后的代码后发现经常卡住不动了。怎么回事呀。也没出错信息

from torsniff.

fanpei91 avatar fanpei91 commented on June 6, 2024

什么叫经常卡住不动了?

我这里用6.2.0跑过, 正常. 你得确保用的是国外公网主机跑的哈.

from torsniff.

wangtubs avatar wangtubs commented on June 6, 2024

就是不再得到新的infohash了。我昨天换回0.12.14版了。

from torsniff.

wangtubs avatar wangtubs commented on June 6, 2024

我用的是digitalocean的vps

from torsniff.

wangtubs avatar wangtubs commented on June 6, 2024

现在经过反复测试,用node 0.12.14版,代码修改前,基本正常,极少出现错误。代码修改后,运行1分钟程序卡住,获取不到新的infohash。用node 6.2.0,代码修改前,运行test 1-2分钟就出现1楼所示错误。代码修改后。也会卡住,获取不到新的infohash

from torsniff.

wangtubs avatar wangtubs commented on June 6, 2024

webtorrent/bittorrent-tracker#94

from torsniff.

fanpei91 avatar fanpei91 commented on June 6, 2024

不管了, 在版本, 代码一模一样的情况下, 这问题无法在我这里重现, 弃坑, 不用再讨论啦.

from torsniff.

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.