from nameko.timer import timer

class Service(object):
    name ="service"

    @timer(interval=5)
    def ping(self):
        # method executed every 5 seconds
        print "pong"

83473a79d31c23e35d22fa8b70bb771e53052328
from nameko.timer import timer

class Service(object):
    name ="service"

    @timer(interval=5)
    def ping(self):
        # method executed every 5 seconds
        print "pong"
