Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why are we pausing in src/main/java/JSR353/JSON/YahooFinanceStub.java? #6

Open
neomatrix369 opened this issue Mar 22, 2013 · 1 comment

Comments

@neomatrix369
Copy link
Member

 46 
  •        writeJSONObjectToConsoleOnlyOnce(symbol, price);
    
    47
    +
    48
  •        // Implementation of JsonWriter & JsonReader in JSR-353
    
    49
  •        /*
    
    50
  •         \* Writes/Reads the specified JSON object or array to the output source.
    
    51
  •         \* This method needs to be called only once for a reader/writer instance - hence running only once.
    
    52
  •         */
    
    53
  •        writeJSONObjectToStreamOnlyOnce(symbol, price);
    
    54
    +
    55
  •        // Implementation of JsonObject & JsonObjectBuilder in JSR-353
    
    56
  •        // Returns a Json object with a symbol and price - continuously
    
    57
  •        logger.log(Level.INFO, "JsonObject: {0}", getJSONObjectFromValues(symbol, price));
    
    58
    +
    59
  •        // Then pause for a bit...before starting all over again
    
    60
  •        pauseForABit(1000);  <======= here?
    
    61
  •    }
    

@karianna: Why are we pausing ?
@neomatrix369: Needs further investigating and fixing after inquiring with @sivajik!

@ghost ghost assigned neomatrix369 Mar 22, 2013
@neomatrix369
Copy link
Member Author

Question for @sivajik, but if unavailable, either @neomatrix369 or @HelioFrota will have to look at it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant