Proxy fully operational; Initial API requests to Genius
This commit is contained in:
@ -59,7 +59,7 @@ export function sendAuthorization( recipient_connectionid, authorization, me ){
|
||||
return {
|
||||
type: 'PUSHER_DELIVER_MESSAGE',
|
||||
data: {
|
||||
to: recipient_connectionid,
|
||||
connection_id: recipient_connectionid,
|
||||
message: {
|
||||
type: 'spotify_authorization',
|
||||
authorization: authorization,
|
||||
|
||||
@ -63,13 +63,13 @@ const PusherMiddleware = (function(){
|
||||
|
||||
store.dispatch(uiActions.startLoading(request_id, 'pusher_'+method))
|
||||
|
||||
// Start our 10 second timeout
|
||||
// Start our 15 second timeout
|
||||
var timeout = setTimeout(
|
||||
function(){
|
||||
store.dispatch(uiActions.stopLoading(request_id));
|
||||
reject({message: "Request timed out", method: method, data: data});
|
||||
},
|
||||
10000
|
||||
15000
|
||||
);
|
||||
|
||||
// add query to our deferred responses
|
||||
|
||||
Reference in New Issue
Block a user