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

uptime reporting on /status may be wrong #596

Closed
GoogleCodeExporter opened this issue Mar 25, 2015 · 2 comments
Closed

uptime reporting on /status may be wrong #596

GoogleCodeExporter opened this issue Mar 25, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

Hi,

The following code is not good enough (Seaside 3):

WAImageStatus>>#renderValuesOn: html
       | image upTime |
       image := SmalltalkImage current.

       upTime := Duration milliseconds: Time millisecondClockValue.

       self renderLabel: 'Uptime' value: (self printDuration: upTime) on: html.
       ...

The uptime wraps around on long running images, and since all Seaside 
applications have enormeous uptimes, it is a pity that this is not reported 
correctly. I have a fix by registering the class with the image startUpList, 
setting the startUpTime in a class variable.

Sven
3.

What is the expected output? What do you see instead?


Please use labels and text to provide additional information.

Original issue reported on code.google.com by philippe...@gmail.com on 24 Aug 2010 at 5:19

@GoogleCodeExporter
Copy link
Author

Thanks for the patch


Name: Seaside-Pharo-Tools-Web-pmm.29
Author: pmm
Time: 14 March 2011, 8:10:38 am
UUID: 3bdf61a4-afe8-435d-a478-53fc25645e32
Ancestors: Seaside-Pharo-Tools-Web-pmm.28

- Issue 596: uptime reporting on /status may be wrong
- http://code.google.com/p/seaside/issues/detail?id=596

Original comment by philippe...@gmail.com on 14 Mar 2011 at 7:11

  • Changed state: Fixed
  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

work around for http://code.google.com/p/pharo/issues/detail?id=3816

Original comment by philippe...@gmail.com on 14 Mar 2011 at 9:44

  • Added labels: ****
  • Removed labels: ****

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