From fbcbe79764749a826dcd8447c7ae8ccf6de6b947 Mon Sep 17 00:00:00 2001 From: ioBridge Date: Sun, 27 Mar 2011 19:33:47 -0400 Subject: [PATCH] remove rate limiting for posts --- app/controllers/channels_controller.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/controllers/channels_controller.rb b/app/controllers/channels_controller.rb index 89ca67b..baf6434 100644 --- a/app/controllers/channels_controller.rb +++ b/app/controllers/channels_controller.rb @@ -96,9 +96,6 @@ class ChannelsController < ApplicationController if (api_key && api_key.write_flag) channel = Channel.find(api_key.channel_id) - # rate limit posts - render :text => '0' and return if (Time.now < channel.updated_at + 14.seconds) - # update entry_id for channel and feed entry_id = channel.last_entry_id.nil? ? 1 : channel.last_entry_id + 1 channel.last_entry_id = entry_id