{"action":"created","issue":{"url":"https://api.github.com/repos/joekhoobyar/shoryuken-later/issues/6","labels_url":"https://api.github.com/repos/joekhoobyar/shoryuken-later/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/joekhoobyar/shoryuken-later/issues/6/comments","events_url":"https://api.github.com/repos/joekhoobyar/shoryuken-later/issues/6/events","html_url":"https://github.com/joekhoobyar/shoryuken-later/issues/6","id":65111262,"number":6,"title":"Poller not finding messages","user":{"login":"farski","id":3483,"avatar_url":"https://avatars.githubusercontent.com/u/3483?v=3","gravatar_id":"","url":"https://api.github.com/users/farski","html_url":"https://github.com/farski","followers_url":"https://api.github.com/users/farski/followers","following_url":"https://api.github.com/users/farski/following{/other_user}","gists_url":"https://api.github.com/users/farski/gists{/gist_id}","starred_url":"https://api.github.com/users/farski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/farski/subscriptions","organizations_url":"https://api.github.com/users/farski/orgs","repos_url":"https://api.github.com/users/farski/repos","events_url":"https://api.github.com/users/farski/events{/privacy}","received_events_url":"https://api.github.com/users/farski/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-30T00:31:29Z","updated_at":"2015-03-30T00:44:30Z","closed_at":null,"body":"I may just be doing some math wrong, but I seem to be having a problem.\r\n\r\nI have a table, `production_scour-audio_shoryuken-later`, that has a lot of items in it. One item has a `perform_at` value of `1427650294`.\r\n\r\nAs I'm writing this, `(Time.now + Shoryuken::Later::MAX_QUEUE_DELAY).to_i` is `1427675975`, which is greater than the `perform_at` value of that item.\r\n\r\nRunning `client.first_item 'production_scour-audio_shoryuken-later', 'perform_at' => { attribute_value_list: [ (Time.now + Shoryuken::Later::MAX_QUEUE_DELAY).to_i ], comparison_operator:  'LT' }` returns `nil`.\r\n\r\nIf I do a scan of the table in the AWS Console `[perform_at, Number, less than, 1427675975]`, I get a bunch of results. So maybe this is just an issue with the AWS SDK? As best I could tell, this was all working yesterday."},"comment":{"url":"https://api.github.com/repos/joekhoobyar/shoryuken-later/issues/comments/87504289","html_url":"https://github.com/joekhoobyar/shoryuken-later/issues/6#issuecomment-87504289","issue_url":"https://api.github.com/repos/joekhoobyar/shoryuken-later/issues/6","id":87504289,"user":{"login":"farski","id":3483,"avatar_url":"https://avatars.githubusercontent.com/u/3483?v=3","gravatar_id":"","url":"https://api.github.com/users/farski","html_url":"https://github.com/farski","followers_url":"https://api.github.com/users/farski/followers","following_url":"https://api.github.com/users/farski/following{/other_user}","gists_url":"https://api.github.com/users/farski/gists{/gist_id}","starred_url":"https://api.github.com/users/farski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/farski/subscriptions","organizations_url":"https://api.github.com/users/farski/orgs","repos_url":"https://api.github.com/users/farski/repos","events_url":"https://api.github.com/users/farski/events{/privacy}","received_events_url":"https://api.github.com/users/farski/received_events","type":"User","site_admin":false},"created_at":"2015-03-30T00:44:30Z","updated_at":"2015-03-30T00:44:30Z","body":"If I run \r\n\r\n```\r\nddb.scan(table_name: 'production_scour-audio_shoryuken-later', limit: 100, scan_filter: {\"perform_at\" => {attribute_value_list: [2427675975],comparison_operator:\"LT\"}})\r\n```\r\n\r\n(ie, some date far in the future) I get back the same number of items (82) that I get in the console by scanning with that number. However, if I run \r\n\r\n```\r\nddb.scan(table_name: 'production_scour-audio_shoryuken-later', limit: 100, scan_filter: {\"perform_at\" => {attribute_value_list: [1427675975],comparison_operator:\"LT\"}})\r\n```\r\n\r\nI get back 0 items, whereas in the console I get back some (67). "}}