Code Monkey home page Code Monkey logo

Comments (7)

nickfrerichs avatar nickfrerichs commented on August 15, 2024

While the live draft is in progress and at the live draft page.... Turn on debugging, then open up a javascript console in developer mode (https://developer.chrome.com/devtools). Do you see live_draft data arriving every 5 seconds? (Data gets pushed whenever an action happens, the 5s updates are to make sure things stays in sync since timing is important).

What server are you running? LInux/Windows Apache/IIS?
What browser are you using to test? Does it act the same in all browsers you've tried?

from fflproject.

Boblyng avatar Boblyng commented on August 15, 2024

I had this issue using windows server 2008. I wasn't ever really able to speed it up so I switched to Debian8 Linux last year and the difference is like night and day.

from fflproject.

Darrend1 avatar Darrend1 commented on August 15, 2024

I get 5 of these bunched together every 30 or so seconds -

SSE Stream data                                    fflproject.js:780
{ls: "off", wo: Array(1), ur: "0"}                fflproject.js:781 

Linux, Apache 2.4, Php5.6. Tried different browsers with same result.

It looks like sending commands/chats etc immediately shows up in the console but the actual pages take 30+ seconds to update what was done. (manual page refresh immediately shows the new data)

from fflproject.

nickfrerichs avatar nickfrerichs commented on August 15, 2024

Darrend1,

While a live draft is in progress, what happens when you browse to /sse/stream/sse_live_draft ? Do you only see updates every 30 seconds as well or do you get the 5s updates? You can only make ~5 connections to the site in one browser, so make sure all other browser windows are closed for testing.

from fflproject.

Darrend1 avatar Darrend1 commented on August 15, 2024

Ok, ("live_draft":{"seconds_left") messages are about 20 seconds apart and come in bunches of 4 or 5.
Chat messages are about 210 seconds from submission to them actually showing up in chat.

from fflproject.

nickfrerichs avatar nickfrerichs commented on August 15, 2024

Darrend1,

When is your draft? I'll probably have to set up an identical system to yours to see if I can recreate the issue, but I'm not sure I'll get to it real soon.

What Linux OS are you running Apache/php on?

from fflproject.

nickfrerichs avatar nickfrerichs commented on August 15, 2024

Darrend, is this still a problem for you? If not, I'm going to close this one.

from fflproject.

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.