Giter VIP home page Giter VIP logo

Comments (5)

seejohnrun avatar seejohnrun commented on July 2, 2024

Heya - you can increase the default (400000 characters) in config.json if you host it inside of your network.

from haste-server.

johntdyer avatar johntdyer commented on July 2, 2024

John,

Thanks for the quick reply but it seems to be failing on a 40,000 line
file for me. I am using the stock config.json file with "file" storage
system. I can post logs if necessary, but I figured I would ask to see if
you had any initial suggestions on what I may need to tweak.

-John

On Wed, Dec 19, 2012 at 8:23 AM, John Crepezzi [email protected]:

Heya - you can increase the default (400000 characters) in config.json if
you host it inside of your network.


Reply to this email directly or view it on GitHubhttps://github.com//issues/35#issuecomment-11529748.

from haste-server.

seejohnrun avatar seejohnrun commented on July 2, 2024

Hmm - well if each line is > 10 characters on average - that would cross
the default max storage.

Try bumping that property up a bit in the config.json

On Wed, Dec 19, 2012 at 9:41 AM, John Dyer [email protected] wrote:

John,

Thanks for the quick reply but it seems to be failing on a 40,000 line
file for me. I am using the stock config.json file with "file" storage
system. I can post logs if necessary, but I figured I would ask to see if
you had any initial suggestions on what I may need to tweak.

-John

On Wed, Dec 19, 2012 at 8:23 AM, John Crepezzi [email protected]:

Heya - you can increase the default (400000 characters) in config.json
if
you host it inside of your network.


Reply to this email directly or view it on GitHub<
https://github.com/seejohnrun/haste-server/issues/35#issuecomment-11529748>.


Reply to this email directly or view it on GitHubhttps://github.com//issues/35#issuecomment-11532102.

from haste-server.

johntdyer avatar johntdyer commented on July 2, 2024

It's java application server logging, so yea, each line would be ~> 100 chars. Does storage engine have any role in this? What's the theoretical max for document size?

-John Dyer
Voxeo Labs
m. +1.407.474.0214

e.mail/sip/xmpp: [email protected]

Sent from mobile

On Dec 19, 2012, at 9:57 AM, John Crepezzi [email protected] wrote:

Hmm - well if each line is > 10 characters on average - that would cross
the default max storage.

Try bumping that property up a bit in the config.json

On Wed, Dec 19, 2012 at 9:41 AM, John Dyer [email protected] wrote:

John,

Thanks for the quick reply but it seems to be failing on a 40,000 line
file for me. I am using the stock config.json file with "file" storage
system. I can post logs if necessary, but I figured I would ask to see if
you had any initial suggestions on what I may need to tweak.

-John

On Wed, Dec 19, 2012 at 8:23 AM, John Crepezzi [email protected]:

Heya - you can increase the default (400000 characters) in config.json
if
you host it inside of your network.


Reply to this email directly or view it on GitHub<
https://github.com/seejohnrun/haste-server/issues/35#issuecomment-11529748>.


Reply to this email directly or view it on GitHubhttps://github.com//issues/35#issuecomment-11532102.


Reply to this email directly or view it on GitHub.

from haste-server.

seejohnrun avatar seejohnrun commented on July 2, 2024

The maximum can be set to anything - I just have it defaulted to 400,000 to save my server costs on hastebin.com / its enforced purely in software (in document_handler.js)

from haste-server.

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.